PageRenderTime 71ms CodeModel.GetById 32ms RepoModel.GetById 1ms app.codeStats 1ms

/_ide_helper.php

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

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