當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Support\Manager類代碼示例

本文整理匯總了PHP中Illuminate\Support\Manager的典型用法代碼示例。如果您正苦於以下問題:PHP Manager類的具體用法?PHP Manager怎麽用?PHP Manager使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了Manager類的14個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 /**
  * Create new instance of ConfManager class.
  *
  * @param \Illuminate\Foundation\Application $driver
  */
 public function __construct($driver)
 {
     parent::__construct($driver);
 }
開發者ID:gaaarfild,項目名稱:laravel-conf,代碼行數:9,代碼來源:ConfManager.php

示例2: __construct

 /**
  * Init CASAuthentication
  *
  * @param $config
  * @param AuthManager $auth
  */
 public function __construct($app)
 {
     parent::__construct($app);
     $this->config = $this->app['config']['services.cas'];
     $this->initialize();
 }
開發者ID:avvertix,項目名稱:caslite,代碼行數:12,代碼來源:CasliteManager.php

示例3: callCustomCreator

 /**
  * Call a custom driver creator.
  *
  * @param  string  $driver
  * @return \Illuminate\Auth\Guard
  */
 protected function callCustomCreator($driver)
 {
     $custom = parent::callCustomCreator($driver);
     if ($custom instanceof Guard) {
         return $custom;
     }
     return new Guard($custom, $this->app['session.store']);
 }
開發者ID:GeorgeBroadley,項目名稱:caffeine-vendor,代碼行數:14,代碼來源:AuthManager.php

示例4: __construct

 public function __construct($app)
 {
     parent::__construct($app);
     if (!$app['config']['OidConnect']) {
         throw new \InvalidArgumentException("OidConnect config file [app/config/OidConnect.php] not found.");
     }
     $this->fedKeyModel = $app['config']['OidConnect.dbfedkeymodel'] ?: 'OidConnect\\Models\\FedKeyModel';
     $this->socialUser = $app['config']['OidConnect.socialuser'] ?: 'OidConnect\\UserManagement\\SocialUser';
 }
開發者ID:alexgr,項目名稱:OidConnect,代碼行數:9,代碼來源:IdpFactoryManager.php

示例5: __construct

 /**
  * Neo4j constructor
  *
  * @param string $configPath Configuration path
  * @param ContainerInterface $container Container  instance
  */
 public function __construct($configPath = null, ContainerInterface $container = null)
 {
     if (is_null($container)) {
         $container = new Container($configPath);
     }
     parent::__construct($container);
     $this->default = $this->app['config']->get('database.neo4j.default');
     $this->profiles = $this->app['config']->get('database.neo4j.profiles');
     $this->events = $this->app['events'];
 }
開發者ID:endyjasmi,項目名稱:neo4j,代碼行數:16,代碼來源:Neo4j.php

示例6: createDriver

 /**
  * Create a new driver instance.
  *
  * @param  string  $driver
  * @return mixed
  */
 protected function createDriver($driver)
 {
     $guard = parent::createDriver($driver);
     // When using the remember me functionality of the authentication services we
     // will need to be set the encryption isntance of the guard, which allows
     // secure, encrypted cookie values to get generated for those cookies.
     $guard->setCookieJar($this->app['cookie']);
     $guard->setDispatcher($this->app['events']);
     return $guard;
 }
開發者ID:defra91,項目名稱:levecchiecredenze.it,代碼行數:16,代碼來源:AuthManager.php

示例7: createDriver

 /**
  * {@inheritdoc}
  */
 protected function createDriver($driver)
 {
     try {
         return parent::createDriver($driver);
     } catch (InvalidArgumentException $e) {
         if (class_exists($driver)) {
             return $this->app->make($driver);
         }
         throw $e;
     }
 }
開發者ID:owen-it,項目名稱:laravel-auditing,代碼行數:14,代碼來源:AuditorManager.php

示例8: callCustomCreator

 protected function callCustomCreator($driver)
 {
     return $this->buildSession(parent::callCustomCreator($driver));
 }
開發者ID:devhrmx,項目名稱:kraken,代碼行數:4,代碼來源:compiled.php

示例9: createDriver

 /**
  * Create a new driver instance.
  *
  * @param  string  $driver
  * @return mixed
  */
 protected function createDriver($driver)
 {
     $clientValidationGenerator = parent::createDriver($driver);
     // any other setup needed
     return $clientValidationGenerator;
 }
開發者ID:bignerdranch,項目名稱:client-validation-generator,代碼行數:12,代碼來源:ClientValidationManager.php

示例10: __construct

 public function __construct($app)
 {
     parent::__construct($app);
     $this->dbConnection = $this->app['db']->connection();
     $this->auditLogger = new DatabaseAuditLogger($this->_cfg('audit_log_table'), $this->dbConnection);
 }
開發者ID:npmweb,項目名稱:payment,代碼行數:6,代碼來源:PaymentManager.php

示例11: createDriver

 /**
  * Create a new driver instance.
  *
  * @param  string  $driver
  * @return mixed
  */
 protected function createDriver($driver)
 {
     $renderer = parent::createDriver($driver);
     // any other setup needed
     return $renderer;
 }
開發者ID:bignerdranch,項目名稱:laravel-forms,代碼行數:12,代碼來源:RendererManager.php

示例12: extend

 /**
  * Register a custom driver creator Closure.
  *
  * @param  string   $name
  * @param  \Closure $callback
  *
  * @return $this
  */
 public function extend($name, Closure $callback)
 {
     $this->parsers[Str::camel($name)] = Str::title($name);
     return parent::extend($name, $callback);
 }
開發者ID:dinghua,項目名稱:crm,代碼行數:13,代碼來源:FormatManager.php

示例13: driver

 /**
  * Get a driver instance.
  *
  * @param string $driver
  *
  * @return mixed
  */
 public function driver($driver = null)
 {
     $driver = $driver ?: $this->getDefaultDriver();
     $this->driver = $driver;
     if (!in_array($driver, config('multiauth.drivers'))) {
         $driver = 'socialite';
     }
     return parent::driver($driver);
 }
開發者ID:askedio,項目名稱:laravel-multiauth,代碼行數:16,代碼來源:MultiAuthManager.php

示例14: getDrivers

 /**
  * @return \Doctrine\DBAL\Driver
  */
 public function getDrivers()
 {
     return parent::getDrivers();
 }
開發者ID:ceko,項目名稱:concrete5-1,代碼行數:7,代碼來源:DriverManager.php


注:本文中的Illuminate\Support\Manager類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。