コード例 #1
0
 /**
  * {@inheritdoc}
  */
 protected function initialise()
 {
     $this->addClient('agent', function (array $parameters) {
         return \Barbondev\IRISSDK\Agent\Agent\AgentClient::factory($parameters);
     })->addClient('branch', function (array $parameters) {
         return \Barbondev\IRISSDK\Agent\Branch\BranchClient::factory($parameters);
     })->addClient('brand', function (array $parameters) {
         return \Barbondev\IRISSDK\Agent\Brand\BrandClient::factory($parameters);
     })->addClient('user', function (array $parameters) {
         return \Barbondev\IRISSDK\Agent\User\UserClient::factory($parameters);
     })->addClient('lookup', function (array $parameters) {
         return \Barbondev\IRISSDK\IndividualApplication\Lookup\LookupClient::factory($parameters);
     })->addClient('note', function (array $parameters) {
         return \Barbondev\IRISSDK\IndividualApplication\Note\NoteClient::factory($parameters);
     })->addClient('activity', function (array $parameters) {
         return \Barbondev\IRISSDK\IndividualApplication\Activity\ActivityClient::factory($parameters);
     })->addClient('product', function (array $parameters) {
         return \Barbondev\IRISSDK\IndividualApplication\Product\ProductClient::factory($parameters);
     })->addClient('referencingApplication', function (array $parameters) {
         return \Barbondev\IRISSDK\IndividualApplication\ReferencingApplication\ReferencingApplicationClient::factory($parameters);
     })->addClient('referencingCase', function (array $parameters) {
         return \Barbondev\IRISSDK\IndividualApplication\ReferencingCase\ReferencingCaseClient::factory($parameters);
     })->addClient('addressFinder', function (array $parameters) {
         return \Barbondev\IRISSDK\Utility\AddressFinder\AddressFinderClient::factory($parameters);
     })->addClient('document', function (array $parameters) {
         return \Barbondev\IRISSDK\Utility\Document\DocumentClient::factory($parameters);
     })->addClient('rentAffordability', function (array $parameters) {
         return \Barbondev\IRISSDK\Utility\RentAffordability\RentAffordabilityClient::factory($parameters);
     });
 }
コード例 #2
0
ファイル: Lookup.php プロジェクト: AlexEvesDeveloper/hl-stuff
 /**
  * Constructor
  */
 private function __construct()
 {
     $this->lookupClient = \Zend_Registry::get('iris_container')->get('iris_sdk_client_registry')->getSystemContext()->getLookupClient();
     $this->lookup = $this->lookupClient->getLookup();
     $this->cache = \Zend_Registry::get('iris_container')->get('iris.lookup_cache');
 }