PageRenderTime 73ms CodeModel.GetById 32ms RepoModel.GetById 1ms app.codeStats 2ms

/_ide_helper.php

https://github.com/petarblazevski/lv-registration
PHP | 12987 lines | 3127 code | 1020 blank | 8840 comment | 0 complexity | e0b5c89daae291c73b4d7882726abb3f MD5 | raw file

Large files files are truncated, but you can click here to view the full file

  1. <?php
  2. /**
  3. * An helper file for Laravel 4, to provide autocomplete information to your IDE
  4. * Generated with https://github.com/barryvdh/laravel-ide-helper
  5. * Updated for Laravel 4.2.1 (2014-06-01)
  6. *
  7. * @author Barry vd. Heuvel <barryvdh@gmail.com>
  8. */
  9. namespace {
  10. exit('Only to be used as an helper for your IDE');
  11. class App extends \Illuminate\Support\Facades\App{
  12. /**
  13. * Create a new Illuminate application instance.
  14. *
  15. * @param \Illuminate\Http\Request
  16. * @return void
  17. * @static
  18. */
  19. public static function __construct($request = null){
  20. //Method inherited from \Illuminate\Foundation\Application
  21. \Illuminate\Foundation\Application::__construct($request);
  22. }
  23. /**
  24. * Bind the installation paths to the application.
  25. *
  26. * @param array $paths
  27. * @return void
  28. * @static
  29. */
  30. public static function bindInstallPaths($paths){
  31. //Method inherited from \Illuminate\Foundation\Application
  32. \Illuminate\Foundation\Application::bindInstallPaths($paths);
  33. }
  34. /**
  35. * Get the application bootstrap file.
  36. *
  37. * @return string
  38. * @static
  39. */
  40. public static function getBootstrapFile(){
  41. //Method inherited from \Illuminate\Foundation\Application
  42. return \Illuminate\Foundation\Application::getBootstrapFile();
  43. }
  44. /**
  45. * Start the exception handling for the request.
  46. *
  47. * @return void
  48. * @static
  49. */
  50. public static function startExceptionHandling(){
  51. //Method inherited from \Illuminate\Foundation\Application
  52. \Illuminate\Foundation\Application::startExceptionHandling();
  53. }
  54. /**
  55. * Get or check the current application environment.
  56. *
  57. * @param dynamic
  58. * @return string
  59. * @static
  60. */
  61. public static function environment(){
  62. //Method inherited from \Illuminate\Foundation\Application
  63. return \Illuminate\Foundation\Application::environment();
  64. }
  65. /**
  66. * Determine if application is in local environment.
  67. *
  68. * @return bool
  69. * @static
  70. */
  71. public static function isLocal(){
  72. //Method inherited from \Illuminate\Foundation\Application
  73. return \Illuminate\Foundation\Application::isLocal();
  74. }
  75. /**
  76. * Detect the application's current environment.
  77. *
  78. * @param array|string $envs
  79. * @return string
  80. * @static
  81. */
  82. public static function detectEnvironment($envs){
  83. //Method inherited from \Illuminate\Foundation\Application
  84. return \Illuminate\Foundation\Application::detectEnvironment($envs);
  85. }
  86. /**
  87. * Determine if we are running in the console.
  88. *
  89. * @return bool
  90. * @static
  91. */
  92. public static function runningInConsole(){
  93. //Method inherited from \Illuminate\Foundation\Application
  94. return \Illuminate\Foundation\Application::runningInConsole();
  95. }
  96. /**
  97. * Determine if we are running unit tests.
  98. *
  99. * @return bool
  100. * @static
  101. */
  102. public static function runningUnitTests(){
  103. //Method inherited from \Illuminate\Foundation\Application
  104. return \Illuminate\Foundation\Application::runningUnitTests();
  105. }
  106. /**
  107. * Force register a service provider with the application.
  108. *
  109. * @param \Illuminate\Support\ServiceProvider|string $provider
  110. * @param array $options
  111. * @return \Illuminate\Support\ServiceProvider
  112. * @static
  113. */
  114. public static function forceRegister($provider, $options = array()){
  115. //Method inherited from \Illuminate\Foundation\Application
  116. return \Illuminate\Foundation\Application::forceRegister($provider, $options);
  117. }
  118. /**
  119. * Register a service provider with the application.
  120. *
  121. * @param \Illuminate\Support\ServiceProvider|string $provider
  122. * @param array $options
  123. * @param bool $force
  124. * @return \Illuminate\Support\ServiceProvider
  125. * @static
  126. */
  127. public static function register($provider, $options = array(), $force = false){
  128. //Method inherited from \Illuminate\Foundation\Application
  129. return \Illuminate\Foundation\Application::register($provider, $options, $force);
  130. }
  131. /**
  132. * Get the registered service provider instance if it exists.
  133. *
  134. * @param \Illuminate\Support\ServiceProvider|string $provider
  135. * @return \Illuminate\Support\ServiceProvider|null
  136. * @static
  137. */
  138. public static function getRegistered($provider){
  139. //Method inherited from \Illuminate\Foundation\Application
  140. return \Illuminate\Foundation\Application::getRegistered($provider);
  141. }
  142. /**
  143. * Resolve a service provider instance from the class name.
  144. *
  145. * @param string $provider
  146. * @return \Illuminate\Support\ServiceProvider
  147. * @static
  148. */
  149. public static function resolveProviderClass($provider){
  150. //Method inherited from \Illuminate\Foundation\Application
  151. return \Illuminate\Foundation\Application::resolveProviderClass($provider);
  152. }
  153. /**
  154. * Load and boot all of the remaining deferred providers.
  155. *
  156. * @return void
  157. * @static
  158. */
  159. public static function loadDeferredProviders(){
  160. //Method inherited from \Illuminate\Foundation\Application
  161. \Illuminate\Foundation\Application::loadDeferredProviders();
  162. }
  163. /**
  164. * Register a deferred provider and service.
  165. *
  166. * @param string $provider
  167. * @param string $service
  168. * @return void
  169. * @static
  170. */
  171. public static function registerDeferredProvider($provider, $service = null){
  172. //Method inherited from \Illuminate\Foundation\Application
  173. \Illuminate\Foundation\Application::registerDeferredProvider($provider, $service);
  174. }
  175. /**
  176. * Resolve the given type from the container.
  177. *
  178. * (Overriding Container::make)
  179. *
  180. * @param string $abstract
  181. * @param array $parameters
  182. * @return mixed
  183. * @static
  184. */
  185. public static function make($abstract, $parameters = array()){
  186. //Method inherited from \Illuminate\Foundation\Application
  187. return \Illuminate\Foundation\Application::make($abstract, $parameters);
  188. }
  189. /**
  190. * Register a "before" application filter.
  191. *
  192. * @param Closure|string $callback
  193. * @return void
  194. * @static
  195. */
  196. public static function before($callback){
  197. //Method inherited from \Illuminate\Foundation\Application
  198. \Illuminate\Foundation\Application::before($callback);
  199. }
  200. /**
  201. * Register an "after" application filter.
  202. *
  203. * @param Closure|string $callback
  204. * @return void
  205. * @static
  206. */
  207. public static function after($callback){
  208. //Method inherited from \Illuminate\Foundation\Application
  209. \Illuminate\Foundation\Application::after($callback);
  210. }
  211. /**
  212. * Register a "finish" application filter.
  213. *
  214. * @param Closure|string $callback
  215. * @return void
  216. * @static
  217. */
  218. public static function finish($callback){
  219. //Method inherited from \Illuminate\Foundation\Application
  220. \Illuminate\Foundation\Application::finish($callback);
  221. }
  222. /**
  223. * Register a "shutdown" callback.
  224. *
  225. * @param callable $callback
  226. * @return void
  227. * @static
  228. */
  229. public static function shutdown($callback = null){
  230. //Method inherited from \Illuminate\Foundation\Application
  231. \Illuminate\Foundation\Application::shutdown($callback);
  232. }
  233. /**
  234. * Register a function for determining when to use array sessions.
  235. *
  236. * @param \Closure $callback
  237. * @return void
  238. * @static
  239. */
  240. public static function useArraySessions($callback){
  241. //Method inherited from \Illuminate\Foundation\Application
  242. \Illuminate\Foundation\Application::useArraySessions($callback);
  243. }
  244. /**
  245. * Determine if the application has booted.
  246. *
  247. * @return bool
  248. * @static
  249. */
  250. public static function isBooted(){
  251. //Method inherited from \Illuminate\Foundation\Application
  252. return \Illuminate\Foundation\Application::isBooted();
  253. }
  254. /**
  255. * Boot the application's service providers.
  256. *
  257. * @return void
  258. * @static
  259. */
  260. public static function boot(){
  261. //Method inherited from \Illuminate\Foundation\Application
  262. \Illuminate\Foundation\Application::boot();
  263. }
  264. /**
  265. * Register a new boot listener.
  266. *
  267. * @param mixed $callback
  268. * @return void
  269. * @static
  270. */
  271. public static function booting($callback){
  272. //Method inherited from \Illuminate\Foundation\Application
  273. \Illuminate\Foundation\Application::booting($callback);
  274. }
  275. /**
  276. * Register a new "booted" listener.
  277. *
  278. * @param mixed $callback
  279. * @return void
  280. * @static
  281. */
  282. public static function booted($callback){
  283. //Method inherited from \Illuminate\Foundation\Application
  284. \Illuminate\Foundation\Application::booted($callback);
  285. }
  286. /**
  287. * Run the application and send the response.
  288. *
  289. * @param \Symfony\Component\HttpFoundation\Request $request
  290. * @return void
  291. * @static
  292. */
  293. public static function run($request = null){
  294. //Method inherited from \Illuminate\Foundation\Application
  295. \Illuminate\Foundation\Application::run($request);
  296. }
  297. /**
  298. * Add a HttpKernel middleware onto the stack.
  299. *
  300. * @param string $class
  301. * @param array $parameters
  302. * @return \Illuminate\Foundation\Application
  303. * @static
  304. */
  305. public static function middleware($class, $parameters = array()){
  306. //Method inherited from \Illuminate\Foundation\Application
  307. return \Illuminate\Foundation\Application::middleware($class, $parameters);
  308. }
  309. /**
  310. * Remove a custom middleware from the application.
  311. *
  312. * @param string $class
  313. * @return void
  314. * @static
  315. */
  316. public static function forgetMiddleware($class){
  317. //Method inherited from \Illuminate\Foundation\Application
  318. \Illuminate\Foundation\Application::forgetMiddleware($class);
  319. }
  320. /**
  321. * Handle the given request and get the response.
  322. *
  323. * Provides compatibility with BrowserKit functional testing.
  324. *
  325. * @implements HttpKernelInterface::handle
  326. * @param \Symfony\Component\HttpFoundation\Request $request
  327. * @param int $type
  328. * @param bool $catch
  329. * @return \Symfony\Component\HttpFoundation\Response
  330. * @static
  331. */
  332. public static function handle($request, $type = 1, $catch = true){
  333. //Method inherited from \Illuminate\Foundation\Application
  334. return \Illuminate\Foundation\Application::handle($request, $type, $catch);
  335. }
  336. /**
  337. * Handle the given request and get the response.
  338. *
  339. * @param \Illuminate\Http\Request $request
  340. * @return \Symfony\Component\HttpFoundation\Response
  341. * @static
  342. */
  343. public static function dispatch($request){
  344. //Method inherited from \Illuminate\Foundation\Application
  345. return \Illuminate\Foundation\Application::dispatch($request);
  346. }
  347. /**
  348. * Terminate the request and send the response to the browser.
  349. *
  350. * @param \Symfony\Component\HttpFoundation\Request $request
  351. * @param \Symfony\Component\HttpFoundation\Response $response
  352. * @return void
  353. * @static
  354. */
  355. public static function terminate($request, $response){
  356. //Method inherited from \Illuminate\Foundation\Application
  357. \Illuminate\Foundation\Application::terminate($request, $response);
  358. }
  359. /**
  360. * Call the "finish" callbacks assigned to the application.
  361. *
  362. * @param \Symfony\Component\HttpFoundation\Request $request
  363. * @param \Symfony\Component\HttpFoundation\Response $response
  364. * @return void
  365. * @static
  366. */
  367. public static function callFinishCallbacks($request, $response){
  368. //Method inherited from \Illuminate\Foundation\Application
  369. \Illuminate\Foundation\Application::callFinishCallbacks($request, $response);
  370. }
  371. /**
  372. * Prepare the request by injecting any services.
  373. *
  374. * @param \Illuminate\Http\Request $request
  375. * @return \Illuminate\Http\Request
  376. * @static
  377. */
  378. public static function prepareRequest($request){
  379. //Method inherited from \Illuminate\Foundation\Application
  380. return \Illuminate\Foundation\Application::prepareRequest($request);
  381. }
  382. /**
  383. * Prepare the given value as a Response object.
  384. *
  385. * @param mixed $value
  386. * @return \Symfony\Component\HttpFoundation\Response
  387. * @static
  388. */
  389. public static function prepareResponse($value){
  390. //Method inherited from \Illuminate\Foundation\Application
  391. return \Illuminate\Foundation\Application::prepareResponse($value);
  392. }
  393. /**
  394. * Determine if the application is ready for responses.
  395. *
  396. * @return bool
  397. * @static
  398. */
  399. public static function readyForResponses(){
  400. //Method inherited from \Illuminate\Foundation\Application
  401. return \Illuminate\Foundation\Application::readyForResponses();
  402. }
  403. /**
  404. * Determine if the application is currently down for maintenance.
  405. *
  406. * @return bool
  407. * @static
  408. */
  409. public static function isDownForMaintenance(){
  410. //Method inherited from \Illuminate\Foundation\Application
  411. return \Illuminate\Foundation\Application::isDownForMaintenance();
  412. }
  413. /**
  414. * Register a maintenance mode event listener.
  415. *
  416. * @param \Closure $callback
  417. * @return void
  418. * @static
  419. */
  420. public static function down($callback){
  421. //Method inherited from \Illuminate\Foundation\Application
  422. \Illuminate\Foundation\Application::down($callback);
  423. }
  424. /**
  425. * Throw an HttpException with the given data.
  426. *
  427. * @param int $code
  428. * @param string $message
  429. * @param array $headers
  430. * @return void
  431. * @throws \Symfony\Component\HttpKernel\Exception\HttpException
  432. * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
  433. * @static
  434. */
  435. public static function abort($code, $message = '', $headers = array()){
  436. //Method inherited from \Illuminate\Foundation\Application
  437. \Illuminate\Foundation\Application::abort($code, $message, $headers);
  438. }
  439. /**
  440. * Register a 404 error handler.
  441. *
  442. * @param Closure $callback
  443. * @return void
  444. * @static
  445. */
  446. public static function missing($callback){
  447. //Method inherited from \Illuminate\Foundation\Application
  448. \Illuminate\Foundation\Application::missing($callback);
  449. }
  450. /**
  451. * Register an application error handler.
  452. *
  453. * @param \Closure $callback
  454. * @return void
  455. * @static
  456. */
  457. public static function error($callback){
  458. //Method inherited from \Illuminate\Foundation\Application
  459. \Illuminate\Foundation\Application::error($callback);
  460. }
  461. /**
  462. * Register an error handler at the bottom of the stack.
  463. *
  464. * @param \Closure $callback
  465. * @return void
  466. * @static
  467. */
  468. public static function pushError($callback){
  469. //Method inherited from \Illuminate\Foundation\Application
  470. \Illuminate\Foundation\Application::pushError($callback);
  471. }
  472. /**
  473. * Register an error handler for fatal errors.
  474. *
  475. * @param Closure $callback
  476. * @return void
  477. * @static
  478. */
  479. public static function fatal($callback){
  480. //Method inherited from \Illuminate\Foundation\Application
  481. \Illuminate\Foundation\Application::fatal($callback);
  482. }
  483. /**
  484. * Get the configuration loader instance.
  485. *
  486. * @return \Illuminate\Config\LoaderInterface
  487. * @static
  488. */
  489. public static function getConfigLoader(){
  490. //Method inherited from \Illuminate\Foundation\Application
  491. return \Illuminate\Foundation\Application::getConfigLoader();
  492. }
  493. /**
  494. * Get the environment variables loader instance.
  495. *
  496. * @return \Illuminate\Config\EnvironmentVariablesLoaderInterface
  497. * @static
  498. */
  499. public static function getEnvironmentVariablesLoader(){
  500. //Method inherited from \Illuminate\Foundation\Application
  501. return \Illuminate\Foundation\Application::getEnvironmentVariablesLoader();
  502. }
  503. /**
  504. * Get the service provider repository instance.
  505. *
  506. * @return \Illuminate\Foundation\ProviderRepository
  507. * @static
  508. */
  509. public static function getProviderRepository(){
  510. //Method inherited from \Illuminate\Foundation\Application
  511. return \Illuminate\Foundation\Application::getProviderRepository();
  512. }
  513. /**
  514. * Get the service providers that have been loaded.
  515. *
  516. * @return array
  517. * @static
  518. */
  519. public static function getLoadedProviders(){
  520. //Method inherited from \Illuminate\Foundation\Application
  521. return \Illuminate\Foundation\Application::getLoadedProviders();
  522. }
  523. /**
  524. * Set the application's deferred services.
  525. *
  526. * @param array $services
  527. * @return void
  528. * @static
  529. */
  530. public static function setDeferredServices($services){
  531. //Method inherited from \Illuminate\Foundation\Application
  532. \Illuminate\Foundation\Application::setDeferredServices($services);
  533. }
  534. /**
  535. * Determine if the given service is a deferred service.
  536. *
  537. * @param string $service
  538. * @return bool
  539. * @static
  540. */
  541. public static function isDeferredService($service){
  542. //Method inherited from \Illuminate\Foundation\Application
  543. return \Illuminate\Foundation\Application::isDeferredService($service);
  544. }
  545. /**
  546. * Get or set the request class for the application.
  547. *
  548. * @param string $class
  549. * @return string
  550. * @static
  551. */
  552. public static function requestClass($class = null){
  553. //Method inherited from \Illuminate\Foundation\Application
  554. return \Illuminate\Foundation\Application::requestClass($class);
  555. }
  556. /**
  557. * Set the application request for the console environment.
  558. *
  559. * @return void
  560. * @static
  561. */
  562. public static function setRequestForConsoleEnvironment(){
  563. //Method inherited from \Illuminate\Foundation\Application
  564. \Illuminate\Foundation\Application::setRequestForConsoleEnvironment();
  565. }
  566. /**
  567. * Call a method on the default request class.
  568. *
  569. * @param string $method
  570. * @param array $parameters
  571. * @return mixed
  572. * @static
  573. */
  574. public static function onRequest($method, $parameters = array()){
  575. //Method inherited from \Illuminate\Foundation\Application
  576. return \Illuminate\Foundation\Application::onRequest($method, $parameters);
  577. }
  578. /**
  579. * Get the current application locale.
  580. *
  581. * @return string
  582. * @static
  583. */
  584. public static function getLocale(){
  585. //Method inherited from \Illuminate\Foundation\Application
  586. return \Illuminate\Foundation\Application::getLocale();
  587. }
  588. /**
  589. * Set the current application locale.
  590. *
  591. * @param string $locale
  592. * @return void
  593. * @static
  594. */
  595. public static function setLocale($locale){
  596. //Method inherited from \Illuminate\Foundation\Application
  597. \Illuminate\Foundation\Application::setLocale($locale);
  598. }
  599. /**
  600. * Register the core class aliases in the container.
  601. *
  602. * @return void
  603. * @static
  604. */
  605. public static function registerCoreContainerAliases(){
  606. //Method inherited from \Illuminate\Foundation\Application
  607. \Illuminate\Foundation\Application::registerCoreContainerAliases();
  608. }
  609. /**
  610. * Dynamically access application services.
  611. *
  612. * @param string $key
  613. * @return mixed
  614. * @static
  615. */
  616. public static function __get($key){
  617. //Method inherited from \Illuminate\Foundation\Application
  618. return \Illuminate\Foundation\Application::__get($key);
  619. }
  620. /**
  621. * Dynamically set application services.
  622. *
  623. * @param string $key
  624. * @param mixed $value
  625. * @return void
  626. * @static
  627. */
  628. public static function __set($key, $value){
  629. //Method inherited from \Illuminate\Foundation\Application
  630. \Illuminate\Foundation\Application::__set($key, $value);
  631. }
  632. /**
  633. * Determine if the given abstract type has been bound.
  634. *
  635. * @param string $abstract
  636. * @return bool
  637. * @static
  638. */
  639. public static function bound($abstract){
  640. //Method inherited from \Illuminate\Container\Container
  641. return \Illuminate\Foundation\Application::bound($abstract);
  642. }
  643. /**
  644. * Determine if a given string is an alias.
  645. *
  646. * @param string $name
  647. * @return bool
  648. * @static
  649. */
  650. public static function isAlias($name){
  651. //Method inherited from \Illuminate\Container\Container
  652. return \Illuminate\Foundation\Application::isAlias($name);
  653. }
  654. /**
  655. * Register a binding with the container.
  656. *
  657. * @param string $abstract
  658. * @param Closure|string|null $concrete
  659. * @param bool $shared
  660. * @return void
  661. * @static
  662. */
  663. public static function bind($abstract, $concrete = null, $shared = false){
  664. //Method inherited from \Illuminate\Container\Container
  665. \Illuminate\Foundation\Application::bind($abstract, $concrete, $shared);
  666. }
  667. /**
  668. * Register a binding if it hasn't already been registered.
  669. *
  670. * @param string $abstract
  671. * @param Closure|string|null $concrete
  672. * @param bool $shared
  673. * @return bool
  674. * @static
  675. */
  676. public static function bindIf($abstract, $concrete = null, $shared = false){
  677. //Method inherited from \Illuminate\Container\Container
  678. return \Illuminate\Foundation\Application::bindIf($abstract, $concrete, $shared);
  679. }
  680. /**
  681. * Register a shared binding in the container.
  682. *
  683. * @param string $abstract
  684. * @param Closure|string|null $concrete
  685. * @return void
  686. * @static
  687. */
  688. public static function singleton($abstract, $concrete = null){
  689. //Method inherited from \Illuminate\Container\Container
  690. \Illuminate\Foundation\Application::singleton($abstract, $concrete);
  691. }
  692. /**
  693. * Wrap a Closure such that it is shared.
  694. *
  695. * @param Closure $closure
  696. * @return Closure
  697. * @static
  698. */
  699. public static function share($closure){
  700. //Method inherited from \Illuminate\Container\Container
  701. return \Illuminate\Foundation\Application::share($closure);
  702. }
  703. /**
  704. * Bind a shared Closure into the container.
  705. *
  706. * @param string $abstract
  707. * @param \Closure $closure
  708. * @return void
  709. * @static
  710. */
  711. public static function bindShared($abstract, $closure){
  712. //Method inherited from \Illuminate\Container\Container
  713. \Illuminate\Foundation\Application::bindShared($abstract, $closure);
  714. }
  715. /**
  716. * "Extend" an abstract type in the container.
  717. *
  718. * @param string $abstract
  719. * @param Closure $closure
  720. * @return void
  721. * @throws \InvalidArgumentException
  722. * @static
  723. */
  724. public static function extend($abstract, $closure){
  725. //Method inherited from \Illuminate\Container\Container
  726. \Illuminate\Foundation\Application::extend($abstract, $closure);
  727. }
  728. /**
  729. * Register an existing instance as shared in the container.
  730. *
  731. * @param string $abstract
  732. * @param mixed $instance
  733. * @return void
  734. * @static
  735. */
  736. public static function instance($abstract, $instance){
  737. //Method inherited from \Illuminate\Container\Container
  738. \Illuminate\Foundation\Application::instance($abstract, $instance);
  739. }
  740. /**
  741. * Alias a type to a shorter name.
  742. *
  743. * @param string $abstract
  744. * @param string $alias
  745. * @return void
  746. * @static
  747. */
  748. public static function alias($abstract, $alias){
  749. //Method inherited from \Illuminate\Container\Container
  750. \Illuminate\Foundation\Application::alias($abstract, $alias);
  751. }
  752. /**
  753. * Bind a new callback to an abstract's rebind event.
  754. *
  755. * @param string $abstract
  756. * @param \Closure $callback
  757. * @return mixed
  758. * @static
  759. */
  760. public static function rebinding($abstract, $callback){
  761. //Method inherited from \Illuminate\Container\Container
  762. return \Illuminate\Foundation\Application::rebinding($abstract, $callback);
  763. }
  764. /**
  765. * Refresh an instance on the given target and method.
  766. *
  767. * @param string $abstract
  768. * @param mixed $target
  769. * @param string $method
  770. * @return mixed
  771. * @static
  772. */
  773. public static function refresh($abstract, $target, $method){
  774. //Method inherited from \Illuminate\Container\Container
  775. return \Illuminate\Foundation\Application::refresh($abstract, $target, $method);
  776. }
  777. /**
  778. * Instantiate a concrete instance of the given type.
  779. *
  780. * @param string $concrete
  781. * @param array $parameters
  782. * @return mixed
  783. * @throws BindingResolutionException
  784. * @static
  785. */
  786. public static function build($concrete, $parameters = array()){
  787. //Method inherited from \Illuminate\Container\Container
  788. return \Illuminate\Foundation\Application::build($concrete, $parameters);
  789. }
  790. /**
  791. * Register a new resolving callback.
  792. *
  793. * @param string $abstract
  794. * @param \Closure $callback
  795. * @return void
  796. * @static
  797. */
  798. public static function resolving($abstract, $callback){
  799. //Method inherited from \Illuminate\Container\Container
  800. \Illuminate\Foundation\Application::resolving($abstract, $callback);
  801. }
  802. /**
  803. * Register a new resolving callback for all types.
  804. *
  805. * @param \Closure $callback
  806. * @return void
  807. * @static
  808. */
  809. public static function resolvingAny($callback){
  810. //Method inherited from \Illuminate\Container\Container
  811. \Illuminate\Foundation\Application::resolvingAny($callback);
  812. }
  813. /**
  814. * Determine if a given type is shared.
  815. *
  816. * @param string $abstract
  817. * @return bool
  818. * @static
  819. */
  820. public static function isShared($abstract){
  821. //Method inherited from \Illuminate\Container\Container
  822. return \Illuminate\Foundation\Application::isShared($abstract);
  823. }
  824. /**
  825. * Get the container's bindings.
  826. *
  827. * @return array
  828. * @static
  829. */
  830. public static function getBindings(){
  831. //Method inherited from \Illuminate\Container\Container
  832. return \Illuminate\Foundation\Application::getBindings();
  833. }
  834. /**
  835. * Remove a resolved instance from the instance cache.
  836. *
  837. * @param string $abstract
  838. * @return void
  839. * @static
  840. */
  841. public static function forgetInstance($abstract){
  842. //Method inherited from \Illuminate\Container\Container
  843. \Illuminate\Foundation\Application::forgetInstance($abstract);
  844. }
  845. /**
  846. * Clear all of the instances from the container.
  847. *
  848. * @return void
  849. * @static
  850. */
  851. public static function forgetInstances(){
  852. //Method inherited from \Illuminate\Container\Container
  853. \Illuminate\Foundation\Application::forgetInstances();
  854. }
  855. /**
  856. * Determine if a given offset exists.
  857. *
  858. * @param string $key
  859. * @return bool
  860. * @static
  861. */
  862. public static function offsetExists($key){
  863. //Method inherited from \Illuminate\Container\Container
  864. return \Illuminate\Foundation\Application::offsetExists($key);
  865. }
  866. /**
  867. * Get the value at a given offset.
  868. *
  869. * @param string $key
  870. * @return mixed
  871. * @static
  872. */
  873. public static function offsetGet($key){
  874. //Method inherited from \Illuminate\Container\Container
  875. return \Illuminate\Foundation\Application::offsetGet($key);
  876. }
  877. /**
  878. * Set the value at a given offset.
  879. *
  880. * @param string $key
  881. * @param mixed $value
  882. * @return void
  883. * @static
  884. */
  885. public static function offsetSet($key, $value){
  886. //Method inherited from \Illuminate\Container\Container
  887. \Illuminate\Foundation\Application::offsetSet($key, $value);
  888. }
  889. /**
  890. * Unset the value at a given offset.
  891. *
  892. * @param string $key
  893. * @return void
  894. * @static
  895. */
  896. public static function offsetUnset($key){
  897. //Method inherited from \Illuminate\Container\Container
  898. \Illuminate\Foundation\Application::offsetUnset($key);
  899. }
  900. }
  901. class Artisan extends \Illuminate\Support\Facades\Artisan{
  902. /**
  903. * Create and boot a new Console application.
  904. *
  905. * @param \Illuminate\Foundation\Application $app
  906. * @return \Illuminate\Console\Application
  907. * @static
  908. */
  909. public static function start($app){
  910. //Method inherited from \Illuminate\Console\Application
  911. return \Illuminate\Console\Application::start($app);
  912. }
  913. /**
  914. * Create a new Console application.
  915. *
  916. * @param \Illuminate\Foundation\Application $app
  917. * @return \Illuminate\Console\Application
  918. * @static
  919. */
  920. public static function make($app){
  921. //Method inherited from \Illuminate\Console\Application
  922. return \Illuminate\Console\Application::make($app);
  923. }
  924. /**
  925. * Boot the Console application.
  926. *
  927. * @return \Illuminate\Console\Application
  928. * @static
  929. */
  930. public static function boot(){
  931. //Method inherited from \Illuminate\Console\Application
  932. return \Illuminate\Console\Application::boot();
  933. }
  934. /**
  935. * Run an Artisan console command by name.
  936. *
  937. * @param string $command
  938. * @param array $parameters
  939. * @param \Symfony\Component\Console\Output\OutputInterface $output
  940. * @return void
  941. * @static
  942. */
  943. public static function call($command, $parameters = array(), $output = null){
  944. //Method inherited from \Illuminate\Console\Application
  945. \Illuminate\Console\Application::call($command, $parameters, $output);
  946. }
  947. /**
  948. * Add a command to the console.
  949. *
  950. * @param \Symfony\Component\Console\Command\Command $command
  951. * @return \Symfony\Component\Console\Command\Command
  952. * @static
  953. */
  954. public static function add($command){
  955. //Method inherited from \Illuminate\Console\Application
  956. return \Illuminate\Console\Application::add($command);
  957. }
  958. /**
  959. * Add a command, resolving through the application.
  960. *
  961. * @param string $command
  962. * @return \Symfony\Component\Console\Command\Command
  963. * @static
  964. */
  965. public static function resolve($command){
  966. //Method inherited from \Illuminate\Console\Application
  967. return \Illuminate\Console\Application::resolve($command);
  968. }
  969. /**
  970. * Resolve an array of commands through the application.
  971. *
  972. * @param array|dynamic $commands
  973. * @return void
  974. * @static
  975. */
  976. public static function resolveCommands($commands){
  977. //Method inherited from \Illuminate\Console\Application
  978. \Illuminate\Console\Application::resolveCommands($commands);
  979. }
  980. /**
  981. * Render the given exception.
  982. *
  983. * @param \Exception $e
  984. * @param \Symfony\Component\Console\Output\OutputInterface $output
  985. * @return void
  986. * @static
  987. */
  988. public static function renderException($e, $output){
  989. //Method inherited from \Illuminate\Console\Application
  990. \Illuminate\Console\Application::renderException($e, $output);
  991. }
  992. /**
  993. * Set the exception handler instance.
  994. *
  995. * @param \Illuminate\Exception\Handler $handler
  996. * @return \Illuminate\Console\Application
  997. * @static
  998. */
  999. public static function setExceptionHandler($handler){
  1000. //Method inherited from \Illuminate\Console\Application
  1001. return \Illuminate\Console\Application::setExceptionHandler($handler);
  1002. }
  1003. /**
  1004. * Set the Laravel application instance.
  1005. *
  1006. * @param \Illuminate\Foundation\Application $laravel
  1007. * @return \Illuminate\Console\Application
  1008. * @static
  1009. */
  1010. public static function setLaravel($laravel){
  1011. //Method inherited from \Illuminate\Console\Application
  1012. return \Illuminate\Console\Application::setLaravel($laravel);
  1013. }
  1014. /**
  1015. * Set whether the Console app should auto-exit when done.
  1016. *
  1017. * @param bool $boolean
  1018. * @return \Illuminate\Console\Application
  1019. * @static
  1020. */
  1021. public static function setAutoExit($boolean){
  1022. //Method inherited from \Illuminate\Console\Application
  1023. return \Illuminate\Console\Application::setAutoExit($boolean);
  1024. }
  1025. /**
  1026. * Constructor.
  1027. *
  1028. * @param string $name The name of the application
  1029. * @param string $version The version of the application
  1030. * @api
  1031. * @static
  1032. */
  1033. public static function __construct($name = 'UNKNOWN', $version = 'UNKNOWN'){
  1034. //Method inherited from \Symfony\Component\Console\Application
  1035. \Illuminate\Console\Application::__construct($name, $version);
  1036. }
  1037. /**
  1038. *
  1039. *
  1040. * @static
  1041. */
  1042. public static function setDispatcher($dispatcher){
  1043. //Method inherited from \Symfony\Component\Console\Application
  1044. \Illuminate\Console\Application::setDispatcher($dispatcher);
  1045. }
  1046. /**
  1047. * Runs the current application.
  1048. *
  1049. * @param InputInterface $input An Input instance
  1050. * @param OutputInterface $output An Output instance
  1051. * @return int 0 if everything went fine, or an error code
  1052. * @throws \Exception When doRun returns Exception
  1053. * @api
  1054. * @static
  1055. */
  1056. public static function run($input = null, $output = null){
  1057. //Method inherited from \Symfony\Component\Console\Application
  1058. return \Illuminate\Console\Application::run($input, $output);
  1059. }
  1060. /**
  1061. * Runs the current application.
  1062. *
  1063. * @param InputInterface $input An Input instance
  1064. * @param OutputInterface $output An Output instance
  1065. * @return int 0 if everything went fine, or an error code
  1066. * @static
  1067. */
  1068. public static function doRun($input, $output){
  1069. //Method inherited from \Symfony\Component\Console\Application
  1070. return \Illuminate\Console\Application::doRun($input, $output);
  1071. }
  1072. /**
  1073. * Set a helper set to be used with the command.
  1074. *
  1075. * @param HelperSet $helperSet The helper set
  1076. * @api
  1077. * @static
  1078. */
  1079. public static function setHelperSet($helperSet){
  1080. //Method inherited from \Symfony\Component\Console\Application
  1081. \Illuminate\Console\Application::setHelperSet($helperSet);
  1082. }
  1083. /**
  1084. * Get the helper set associated with the command.
  1085. *
  1086. * @return HelperSet The HelperSet instance associated with this command
  1087. * @api
  1088. * @static
  1089. */
  1090. public static function getHelperSet(){
  1091. //Method inherited from \Symfony\Component\Console\Application
  1092. return \Illuminate\Console\Application::getHelperSet();
  1093. }
  1094. /**
  1095. * Set an input definition set to be used with this application
  1096. *
  1097. * @param InputDefinition $definition The input definition
  1098. * @api
  1099. * @static
  1100. */
  1101. public static function setDefinition($definition){
  1102. //Method inherited from \Symfony\Component\Console\Application
  1103. \Illuminate\Console\Application::setDefinition($definition);
  1104. }
  1105. /**
  1106. * Gets the InputDefinition related to this Application.
  1107. *
  1108. * @return InputDefinition The InputDefinition instance
  1109. * @static
  1110. */
  1111. public static function getDefinition(){
  1112. //Method inherited from \Symfony\Component\Console\Application
  1113. return \Illuminate\Console\Application::getDefinition();
  1114. }
  1115. /**
  1116. * Gets the help message.
  1117. *
  1118. * @return string A help message.
  1119. * @static
  1120. */
  1121. public static function getHelp(){
  1122. //Method inherited from \Symfony\Component\Console\Application
  1123. return \Illuminate\Console\Application::getHelp();
  1124. }
  1125. /**
  1126. * Sets whether to catch exceptions or not during commands execution.
  1127. *
  1128. * @param bool $boolean Whether to catch exceptions or not during commands execution
  1129. * @api
  1130. * @static
  1131. */
  1132. public static function setCatchExceptions($boolean){
  1133. //Method inherited from \Symfony\Component\Console\Application
  1134. \Illuminate\Console\Application::setCatchExceptions($boolean);
  1135. }
  1136. /**
  1137. * Gets the name of the application.
  1138. *
  1139. * @return string The application name
  1140. * @api
  1141. * @static
  1142. */
  1143. public static function getName(){
  1144. //Method inherited from \Symfony\Component\Console\Application
  1145. return \Illuminate\Console\Application::getName();
  1146. }
  1147. /**
  1148. * Sets the application name.
  1149. *
  1150. * @param string $name The application name
  1151. * @api
  1152. * @static
  1153. */
  1154. public static function setName($name){
  1155. //Method inherited from \Symfony\Component\Console\Application
  1156. \Illuminate\Console\Application::setName($name);
  1157. }
  1158. /**
  1159. * Gets the application version.
  1160. *
  1161. * @return string The application version
  1162. * @api
  1163. * @static
  1164. */
  1165. public static function getVersion(){
  1166. //Method inherited from \Symfony\Component\Console\Application
  1167. return \Illuminate\Console\Application::getVersion();
  1168. }
  1169. /**
  1170. * Sets the application version.
  1171. *
  1172. * @param string $version The application version
  1173. * @api
  1174. * @static
  1175. */
  1176. public static function setVersion($version){
  1177. //Method inherited from \Symfony\Component\Console\Application
  1178. \Illuminate\Console\Application::setVersion($version);
  1179. }
  1180. /**
  1181. * Returns the long version of the application.
  1182. *
  1183. * @return string The long application version
  1184. * @api
  1185. * @static
  1186. */
  1187. public static function getLongVersion(){
  1188. //Method inherited from \Symfony\Component\Console\Application
  1189. return \Illuminate\Console\Application::getLongVersion();
  1190. }
  1191. /**
  1192. * Registers a new command.
  1193. *
  1194. * @param string $name The command name
  1195. * @return Command The newly created command
  1196. * @api
  1197. * @static
  1198. */
  1199. public static function register($name){
  1200. //Method inherited from \Symfony\Component\Console\Application
  1201. return \Illuminate\Console\Application::register($name);
  1202. }
  1203. /**
  1204. * Adds an array of command objects.
  1205. *
  1206. * @param Command[] $commands An array of commands
  1207. * @api
  1208. * @static
  1209. */
  1210. public static function addCommands($commands){
  1211. //Method inherited from \Symfony\Component\Console\Application
  1212. \Illuminate\Console\Application::addCommands($commands);
  1213. }
  1214. /**
  1215. * Returns a registered command by name or alias.
  1216. *
  1217. * @param string $name The command name or alias
  1218. * @return Command A Command object
  1219. * @throws \InvalidArgumentException When command name given does not exist
  1220. * @api
  1221. * @static
  1222. */
  1223. public static function get($name){
  1224. //Method inherited from \Symfony\Component\Console\Application
  1225. return \Illuminate\Console\Application::get($name);
  1226. }
  1227. /**
  1228. * Returns true if the command exists, false otherwise.
  1229. *
  1230. * @param string $name The command name or alias
  1231. * @return bool true if the command exists, false otherwise
  1232. * @api
  1233. * @static
  1234. */
  1235. public static function has($name){
  1236. //Method inherited from \Symfony\Component\Console\Application
  1237. return \Illuminate\Console\Application::has($name);
  1238. }
  1239. /**
  1240. * Returns an array of all unique namespaces used by currently registered commands.
  1241. *
  1242. * It does not returns the global namespace which always exists.
  1243. *
  1244. * @return array An array of namespaces
  1245. * @static
  1246. */
  1247. public static function getNamespaces(){
  1248. //Method inherited from \Symfony\Component\Console\Application
  1249. return \Illuminate\Console\Application::getNamespaces();
  1250. }
  1251. /**
  1252. * Finds a registered namespace by a name or an abbreviation.
  1253. *
  1254. * @param string $namespace A namespace or abbreviation to search for
  1255. * @return string A registered namespace
  1256. * @throws \InvalidArgumentException When namespace is incorrect or ambiguous
  1257. * @static
  1258. */
  1259. public static function findNamespace($namespace){
  1260. //Method inherited from \Symfony\Component\Console\Application
  1261. return \Illuminate\Console\Application::findNamespace($namespace);
  1262. }
  1263. /**
  1264. * Finds a command by name or alias.
  1265. *
  1266. * Contrary to get, this command tries to find the best
  1267. * match if you give it an abbreviation of a name or alias.
  1268. *
  1269. * @param string $name A command name or a command alias
  1270. * @return Command A Command instance
  1271. * @throws \InvalidArgumentException When command name is incorrect or ambiguous
  1272. * @api
  1273. * @static
  1274. */
  1275. public static function find($name){
  1276. //Method inherited from \Symfony\Component\Console\Application
  1277. return \Illuminate\Console\Application::find($name);
  1278. }
  1279. /**
  1280. * Gets the commands (registered in the given namespace if provided).
  1281. *
  1282. * The array keys are the full names and the values the command instances.
  1283. *
  1284. * @param string $namespace A namespace name
  1285. * @return Command[] An array of Command instances
  1286. * @api
  1287. * @static
  1288. */
  1289. public static function all($namespace = null){
  1290. //Method inherited from \Symfony\Component\Console\Application
  1291. return \Illuminate\Console\Application::all($namespace);
  1292. }
  1293. /**
  1294. * Returns an array of possible abbreviations given a set of names.
  1295. *
  1296. * @param array $names An array of names
  1297. * @return array An array of abbreviations
  1298. * @static
  1299. */
  1300. public static function getAbbreviations($names){
  1301. //Method inherited from \Symfony\Component\Console\Application
  1302. return \Illuminate\Console\Application::getAbbreviations($names);
  1303. }
  1304. /**
  1305. * Returns a text representation of the Application.
  1306. *
  1307. * @param string $namespace An optional namespace name
  1308. * @param bool $raw Whether to return raw command list
  1309. * @return string A string representing the Application
  1310. * @deprecated Deprecated since version 2.3, to be removed in 3.0.
  1311. * @static
  1312. */
  1313. public static function asText($namespace = null, $raw = false){
  1314. //Method inherited from \Symfony\Component\Console\Application
  1315. return \Illuminate\Console\Application::asText($namespace, $raw);
  1316. }
  1317. /**
  1318. * Returns an XML representation of the Application.
  1319. *
  1320. * @param string $namespace An optional namespace name
  1321. * @param bool $asDom Whether to return a DOM or an XML string
  1322. * @return string|\DOMDocument An XML string representing the Application
  1323. * @deprecated Deprecated since version 2.3, to be removed in 3.0.
  1324. * @static
  1325. */
  1326. public static function asXml($namespace = null, $asDom = false){
  1327. //Method inherited from \Symfony\Component\Console\Application
  1328. return \Illuminate\Console\Application::asXml($namespace, $asDom);
  1329. }
  1330. /**
  1331. * Tries to figure out the terminal dimensions based on the current environment
  1332. *
  1333. * @return array Array containing width and height
  1334. * @static
  1335. */
  1336. public static function getTerminalDimensions(){
  1337. //Method inherited from \Symfony\Component\Console\Application
  1338. return \Illuminate\Console\Application::getTerminalDimensions();
  1339. }
  1340. /**
  1341. * Sets terminal dimensions.
  1342. *
  1343. * Can be useful to force terminal dimensions for functional tests.
  1344. *
  1345. * @param int $width The width
  1346. * @param int $height The height
  1347. * @return Application The current application
  1348. * @static
  1349. */
  1350. public static function setTerminalDimensions($width, $height){
  1351. //Method inherited from \Symfony\Component\Console\Application
  1352. return \Illuminate\Console\Application::setTerminalDimensions($width, $height);
  1353. }
  1354. /**
  1355. * Returns the namespace part of the command name.
  1356. *
  1357. * This method is not part of public API and should not be used directly.
  1358. *
  1359. * @param string $name The full name of the command
  1360. * @param string $limit The maximum number of parts of the namespace
  1361. * @return string The namespace of the command
  1362. * @static
  1363. */
  1364. public static function extractNamespace($name, $limit = null){
  1365. //Method inherited from \Symfony\Component\Console\Application
  1366. return \Illuminate\Console\Application::extractNamespace($name, $limit);
  1367. }
  1368. /**
  1369. * Sets the default Command name.
  1370. *
  1371. * @param string $commandName The Command name
  1372. * @static
  1373. */
  1374. public static function setDefaultCommand($commandName){
  1375. //Method inherited from \Symfony\Component\Console\Application
  1376. \Illuminate\Console\Application::setDefaultCommand($commandName);
  1377. }
  1378. /**
  1379. * Dynamically pass all missing methods to console Artisan.
  1380. *
  1381. * @param string $method
  1382. * @param array $parameters
  1383. * @return mixed
  1384. * @static
  1385. */
  1386. public static function __call($method, $parameters){
  1387. //Method inherited from \Illuminate\Foundation\Artisan
  1388. return \Illuminate\Foundation\Artisan::__call($method, $parameters);
  1389. }
  1390. }
  1391. class Auth extends \Illuminate\Support\Facades\Auth{
  1392. /**
  1393. * Create an instance of the database driver.
  1394. *
  1395. * @return \Illuminate\Auth\Guard
  1396. * @static
  1397. */
  1398. public static function createDatabaseDriver(){
  1399. //Method inherited from \Illuminate\Auth\AuthManager
  1400. return \Illuminate\Auth\AuthManager::createDatabaseDriver();
  1401. }
  1402. /**
  1403. * Create an instance of the Eloquent driver.
  1404. *
  1405. * @return \Illuminate\Auth\Guard
  1406. * @static
  1407. */
  1408. public static function createEloquentDriver(){
  1409. //Method inherited from \Illuminate\Auth\AuthManager
  1410. return \Illuminate\Auth\AuthManager::createEloquentDriver();
  1411. }
  1412. /**
  1413. * Get the default authentication driver name.
  1414. *
  1415. * @return string
  1416. * @static
  1417. */
  1418. public static function getDefaultDriver(){
  1419. //Method inherited from \Illuminate\Auth\AuthManager
  1420. return \Illuminate\Auth\AuthManager::getDefaultDriver();
  1421. }
  1422. /**
  1423. * Set the default authentication driver name.
  1424. *
  1425. * @param string $name
  1426. * @return void
  1427. * @static
  1428. */
  1429. public static function setDefaultDriver($name){
  1430. //Method inherited from \Illuminate\Auth\AuthManager
  1431. \Illuminate\Auth\AuthManager::setDefaultDriver($name);
  1432. }
  1433. /**
  1434. * Create a new manager instance.
  1435. *
  1436. * @param \Illuminate\Foundation\Application $app
  1437. * @return void
  1438. * @static
  1439. */
  1440. public static function __construct($app){
  1441. //Method inherited from \Illuminate\Support\Manager
  1442. \Illuminate\Auth\AuthManager::__construct($app);
  1443. }
  1444. /**
  1445. * Get a driver instance.
  1446. *
  1447. * @param string $driver
  1448. * @return mixed
  1449. * @static
  1450. */
  1451. public static function driver($driver = null){
  1452. //Method inherited from \Illuminate\Support\Manager
  1453. return \Illuminate\Auth\AuthManager::driver($driver);
  1454. }
  1455. /**
  1456. * Register a custom driver creator Closure.
  1457. *
  1458. * @param string $driver
  1459. * @param Closure $callback
  1460. * @return \Illuminate\Support\Manager|static
  1461. * @static
  1462. */
  1463. public static function extend($driver, $callback){
  1464. //Method inherited from \Illuminate\Support\Manager
  1465. return \Illuminate\Auth\AuthManager::extend($driver, $callback);
  1466. }
  1467. /**
  1468. * Get all of the created "drivers".
  1469. *
  1470. * @return array
  1471. * @static
  1472. */
  1473. public static function getDrivers(){
  1474. //Method inherited from \Illuminate\Support\Manager
  1475. return \Illuminate\Auth\AuthManager::getDrivers();
  1476. }
  1477. /**
  1478. * Dynamically call the default driver instance.
  1479. *
  1480. * @param string $method
  1481. * @param array $parameters
  1482. * @return mixed
  1483. * @static
  1484. */
  1485. public static function __call($method, $parameters){
  1486. //Method inherited from \Illuminate\Support\Manager
  1487. return \Illuminate\Auth\AuthManager::__call($method, $parameters);
  1488. }
  1489. /**
  1490. * Determine if the current user is authenticated.
  1491. *
  1492. * @return bool
  1493. * @static
  1494. */
  1495. public static function check(){
  1496. //Method inherited from \Illuminate\Auth\Guard
  1497. return \Illuminate\Auth\Guard::check();
  1498. }
  1499. /**
  1500. * Determine if the current user is a guest.
  1501. *
  1502. * @return bool
  1503. * @static
  1504. */
  1505. public static function guest(){
  1506. //Method inherited from \Illuminate\Auth\Guard
  1507. return \Illuminate\Auth\Guard::guest();
  1508. }
  1509. /**
  1510. * Get the currently authenticated user.
  1511. *
  1512. * @return \Illuminate\Auth\UserInterface|null
  1513. * @static
  1514. */
  1515. public static function user(){
  1516. //Method inherited from \Illuminate\Auth\Guard
  1517. return \Illuminate\Auth\Guard::user();
  1518. }
  1519. /**
  1520. * Get the ID for the currently authenticated user.
  1521. *
  1522. * @return int|null
  1523. * @static
  1524. */
  1525. public static function id(){
  1526. //Method inherited from \Illuminate\Auth\Guard
  1527. return \Illuminate\Auth\Guard::id();
  1528. }
  1529. /**
  1530. * Log a user into the application without sessions or cookies.
  1531. *
  1532. * @param array $credentials
  1533. * @return bool
  1534. * @static
  1535. */
  1536. public static function once($credentials = array()){
  1537. //Method inherited from \Illuminate\Auth\Guard
  1538. return \Illuminate\Auth\Guard::once($credentials);
  1539. }
  1540. /**
  1541. * Validate a user's credentials.
  1542. *
  1543. * @param array $credentials
  1544. * @return bool
  1545. * @static
  1546. */
  1547. public static function validate($credentials = array()){
  1548. //Method inherited from \Illuminate\Auth\Guard
  1549. return \Illuminate\Auth\Guard::validate($credentials);
  1550. }
  1551. /**
  1552. * Attempt to authenticate using HTTP Basic Auth.
  1553. *
  1554. * @param string $field
  1555. * @param \Symfony\Component\HttpFoundation\Request $request
  1556. * @return \Symfony\Component\HttpFoundation\Response|null
  1557. * @static
  1558. */
  1559. public static function basic($field = 'email', $request = null){
  1560. //Method inherited from \Illuminate\Auth\Guard
  1561. return \Illuminate\Auth\Guard::basic($field, $request);
  1562. }
  1563. /**
  1564. * Perform a stateless HTTP Basic login attempt.
  1565. *
  1566. * @param string $field
  1567. * @param \Symfony\Component\HttpFoundation\Request $request
  1568. * @return \Symfony\Component\HttpFoundation\Response|null
  1569. * @static
  1570. */
  1571. public static function onceBasic($field = 'email', $request = null){
  1572. //Method inherited from \Illuminate\Auth\Guard
  1573. return \Illuminate\Auth\Guard::onceBasic($field, $request);
  1574. }
  1575. /**
  1576. * Attempt to authenticate a user using the given credentials.
  1577. *
  1578. * @param array $credentials
  1579. * @param bool $remember
  1580. * @param bool $login
  1581. * @return bool
  1582. * @static
  1583. */
  1584. public static function attempt($credentials = array(), $remember = false, $login = true){
  1585. //Method inherited from \Illuminate\Auth\Guard
  1586. return \Illuminate\Auth\Guard::attempt($credentials, $remember, $login);
  1587. }
  1588. /**
  1589. * Register an authentication attempt event listener.
  1590. *
  1591. * @param mixed $callback
  1592. * @return void
  1593. * @static
  1594. */
  1595. public static function attempting($callback){
  1596. //Method inherited from \Illuminate\Auth\Guard
  1597. \Illuminate\Auth\Guard::attempting($callback);
  1598. }
  1599. /**
  1600. * Log a user into the application.
  1601. *
  1602. * @param \Illuminate\Auth\UserInterface $user
  1603. * @param bool $remember
  1604. * @return void
  1605. * @static
  1606. */
  1607. public static function login($user, $remember = false){
  1608. //Method inherited from \Illuminate\Auth\Guard
  1609. \Illuminate\Auth\Guard::login($user, $remember);
  1610. }
  1611. /**
  1612. * Log the given user ID into the application.
  1613. *
  1614. * @param mixed $id
  1615. * @param bool $remember
  1616. * @return \Illuminate\Auth\UserInterface
  1617. * @static
  1618. */
  1619. public static function loginUsingId($id, $remember = false){
  1620. //Method inherited from \Illuminate\Auth\Guard
  1621. return \Illuminate\Auth\Guard::loginUsingId($id, $remember);
  1622. }
  1623. /**
  1624. * Log the given user ID into the application without sessions or cookies.
  1625. *
  1626. * @param mixed $id
  1627. * @return bool
  1628. * @static
  1629. */
  1630. public static function onceUsingId($id){
  1631. //Method inherited from \Illuminate\Auth\Guard
  1632. return \Illuminate\Auth\Guard::onceUsingId($id);
  1633. }
  1634. /**
  1635. * Log the user out of the application.
  1636. *
  1637. * @return void
  1638. * @static
  1639. */
  1640. public static function logout(){
  1641. //Method inherited from \Illuminate\Auth\Guard
  1642. \Illuminate\Auth\Guard::logout();
  1643. }
  1644. /**
  1645. * Get the cookie creator instance used by the guard.
  1646. *
  1647. * @return \Illuminate\Cookie\CookieJar
  1648. * @thro…

Large files files are truncated, but you can click here to view the full file