|
|
@@ -1,7 +1,7 @@
|
|
|
<?php
|
|
|
/**
|
|
|
* A helper file for Laravel 5, to provide autocomplete information to your IDE
|
|
|
- * Generated for Laravel 5.4.27 on 2017-07-18.
|
|
|
+ * Generated for Laravel 5.4.30 on 2017-11-07.
|
|
|
*
|
|
|
* @author Barry vd. Heuvel <[email protected]>
|
|
|
* @see https://github.com/barryvdh/laravel-ide-helper
|
|
|
@@ -1898,35 +1898,35 @@ namespace Illuminate\Support\Facades {
|
|
|
/**
|
|
|
* Determine if the current user is authenticated.
|
|
|
*
|
|
|
- * @return bool
|
|
|
+ * @return \App\User
|
|
|
+ * @throws \Illuminate\Auth\AuthenticationException
|
|
|
* @static
|
|
|
*/
|
|
|
- public static function check()
|
|
|
+ public static function authenticate()
|
|
|
{
|
|
|
- return \Illuminate\Auth\SessionGuard::check();
|
|
|
+ return \Illuminate\Auth\SessionGuard::authenticate();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Determine if the current user is a guest.
|
|
|
+ * Determine if the current user is authenticated.
|
|
|
*
|
|
|
* @return bool
|
|
|
* @static
|
|
|
*/
|
|
|
- public static function guest()
|
|
|
+ public static function check()
|
|
|
{
|
|
|
- return \Illuminate\Auth\SessionGuard::guest();
|
|
|
+ return \Illuminate\Auth\SessionGuard::check();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Determine if the current user is authenticated.
|
|
|
+ * Determine if the current user is a guest.
|
|
|
*
|
|
|
- * @return \App\User
|
|
|
- * @throws \Illuminate\Auth\AuthenticationException
|
|
|
+ * @return bool
|
|
|
* @static
|
|
|
*/
|
|
|
- public static function authenticate()
|
|
|
+ public static function guest()
|
|
|
{
|
|
|
- return \Illuminate\Auth\SessionGuard::authenticate();
|
|
|
+ return \Illuminate\Auth\SessionGuard::guest();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -3594,7 +3594,7 @@ namespace Illuminate\Support\Facades {
|
|
|
/**
|
|
|
* Set the PDO connection.
|
|
|
*
|
|
|
- * @param \PDO|null $pdo
|
|
|
+ * @param \PDO|\Closure|null $pdo
|
|
|
* @return $this
|
|
|
* @static
|
|
|
*/
|
|
|
@@ -3607,7 +3607,7 @@ namespace Illuminate\Support\Facades {
|
|
|
/**
|
|
|
* Set the PDO connection used for reading.
|
|
|
*
|
|
|
- * @param \PDO|null $pdo
|
|
|
+ * @param \PDO|\Closure|null $pdo
|
|
|
* @return $this
|
|
|
* @static
|
|
|
*/
|
|
|
@@ -11153,32 +11153,6 @@ namespace Illuminate\Support\Facades {
|
|
|
return \Illuminate\View\Factory::getShared();
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * Register a view composer event.
|
|
|
- *
|
|
|
- * @param array|string $views
|
|
|
- * @param \Closure|string $callback
|
|
|
- * @return array
|
|
|
- * @static
|
|
|
- */
|
|
|
- public static function composer($views, $callback)
|
|
|
- {
|
|
|
- return \Illuminate\View\Factory::composer($views, $callback);
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * Register a view creator event.
|
|
|
- *
|
|
|
- * @param array|string $views
|
|
|
- * @param \Closure|string $callback
|
|
|
- * @return array
|
|
|
- * @static
|
|
|
- */
|
|
|
- public static function creator($views, $callback)
|
|
|
- {
|
|
|
- return \Illuminate\View\Factory::creator($views, $callback);
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Start a component rendering process.
|
|
|
*
|
|
|
@@ -11227,6 +11201,19 @@ namespace Illuminate\Support\Facades {
|
|
|
\Illuminate\View\Factory::endSlot();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Register a view creator event.
|
|
|
+ *
|
|
|
+ * @param array|string $views
|
|
|
+ * @param \Closure|string $callback
|
|
|
+ * @return array
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function creator($views, $callback)
|
|
|
+ {
|
|
|
+ return \Illuminate\View\Factory::creator($views, $callback);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Register multiple view composers via an array.
|
|
|
*
|
|
|
@@ -11239,6 +11226,19 @@ namespace Illuminate\Support\Facades {
|
|
|
return \Illuminate\View\Factory::composers($composers);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Register a view composer event.
|
|
|
+ *
|
|
|
+ * @param array|string $views
|
|
|
+ * @param \Closure|string $callback
|
|
|
+ * @return array
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function composer($views, $callback)
|
|
|
+ {
|
|
|
+ return \Illuminate\View\Factory::composer($views, $callback);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Call the composer for a given view.
|
|
|
*
|
|
|
@@ -11554,6 +11554,201 @@ namespace Illuminate\Support\Facades {
|
|
|
|
|
|
}
|
|
|
|
|
|
+namespace Maatwebsite\Excel\Facades {
|
|
|
+
|
|
|
+ class Excel {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Create a new file
|
|
|
+ *
|
|
|
+ * @param $filename
|
|
|
+ * @param callable|null $callback
|
|
|
+ * @return \Maatwebsite\Excel\LaravelExcelWriter
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function create($filename, $callback = null)
|
|
|
+ {
|
|
|
+ return \Maatwebsite\Excel\Excel::create($filename, $callback);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Load an existing file
|
|
|
+ *
|
|
|
+ * @param string $file The file we want to load
|
|
|
+ * @param callback|null $callback
|
|
|
+ * @param string|null $encoding
|
|
|
+ * @param bool $noBasePath
|
|
|
+ * @param callback|null $callbackConfigReader
|
|
|
+ * @return \Maatwebsite\Excel\LaravelExcelReader
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function load($file, $callback = null, $encoding = null, $noBasePath = false, $callbackConfigReader = null)
|
|
|
+ {
|
|
|
+ return \Maatwebsite\Excel\Excel::load($file, $callback, $encoding, $noBasePath, $callbackConfigReader);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Set select sheets
|
|
|
+ *
|
|
|
+ * @param $sheets
|
|
|
+ * @return \Maatwebsite\Excel\LaravelExcelReader
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function selectSheets($sheets = array())
|
|
|
+ {
|
|
|
+ return \Maatwebsite\Excel\Excel::selectSheets($sheets);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Select sheets by index
|
|
|
+ *
|
|
|
+ * @param array $sheets
|
|
|
+ * @return $this
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function selectSheetsByIndex($sheets = array())
|
|
|
+ {
|
|
|
+ return \Maatwebsite\Excel\Excel::selectSheetsByIndex($sheets);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Batch import
|
|
|
+ *
|
|
|
+ * @param $files
|
|
|
+ * @param callback $callback
|
|
|
+ * @return \PHPExcel
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function batch($files, $callback)
|
|
|
+ {
|
|
|
+ return \Maatwebsite\Excel\Excel::batch($files, $callback);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Create a new file and share a view
|
|
|
+ *
|
|
|
+ * @param string $view
|
|
|
+ * @param array $data
|
|
|
+ * @param array $mergeData
|
|
|
+ * @return \Maatwebsite\Excel\LaravelExcelWriter
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function shareView($view, $data = array(), $mergeData = array())
|
|
|
+ {
|
|
|
+ return \Maatwebsite\Excel\Excel::shareView($view, $data, $mergeData);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Create a new file and load a view
|
|
|
+ *
|
|
|
+ * @param string $view
|
|
|
+ * @param array $data
|
|
|
+ * @param array $mergeData
|
|
|
+ * @return \Maatwebsite\Excel\LaravelExcelWriter
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function loadView($view, $data = array(), $mergeData = array())
|
|
|
+ {
|
|
|
+ return \Maatwebsite\Excel\Excel::loadView($view, $data, $mergeData);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Set filters
|
|
|
+ *
|
|
|
+ * @param array $filters
|
|
|
+ * @return \Excel
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function registerFilters($filters = array())
|
|
|
+ {
|
|
|
+ return \Maatwebsite\Excel\Excel::registerFilters($filters);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Enable certain filters
|
|
|
+ *
|
|
|
+ * @param string|array $filter
|
|
|
+ * @param bool|false|string $class
|
|
|
+ * @return \Excel
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function filter($filter, $class = false)
|
|
|
+ {
|
|
|
+ return \Maatwebsite\Excel\Excel::filter($filter, $class);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get register, enabled (or both) filters
|
|
|
+ *
|
|
|
+ * @param string|boolean $key [description]
|
|
|
+ * @return array
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function getFilters($key = false)
|
|
|
+ {
|
|
|
+ return \Maatwebsite\Excel\Excel::getFilters($key);
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+namespace Mews\Captcha\Facades {
|
|
|
+
|
|
|
+ class Captcha {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Create captcha image
|
|
|
+ *
|
|
|
+ * @param string $config
|
|
|
+ * @return \Mews\Captcha\ImageManager->response
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function create($config = 'default')
|
|
|
+ {
|
|
|
+ return \Mews\Captcha\Captcha::create($config);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Captcha check
|
|
|
+ *
|
|
|
+ * @param $value
|
|
|
+ * @return bool
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function check($value)
|
|
|
+ {
|
|
|
+ return \Mews\Captcha\Captcha::check($value);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Generate captcha image source
|
|
|
+ *
|
|
|
+ * @param null $config
|
|
|
+ * @return string
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function src($config = null)
|
|
|
+ {
|
|
|
+ return \Mews\Captcha\Captcha::src($config);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Generate captcha image html tag
|
|
|
+ *
|
|
|
+ * @param null $config
|
|
|
+ * @return string
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function img($config = null)
|
|
|
+ {
|
|
|
+ return \Mews\Captcha\Captcha::img($config);
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
namespace {
|
|
|
|
|
|
@@ -11946,7 +12141,7 @@ namespace {
|
|
|
* Save a new model and return the instance.
|
|
|
*
|
|
|
* @param array $attributes
|
|
|
- * @return \Illuminate\Database\Eloquent\Model
|
|
|
+ * @return \Illuminate\Database\Eloquent\Model|$this
|
|
|
* @static
|
|
|
*/
|
|
|
public static function create($attributes = array())
|
|
|
@@ -11958,7 +12153,7 @@ namespace {
|
|
|
* Save a new model and return the instance. Allow mass-assignment.
|
|
|
*
|
|
|
* @param array $attributes
|
|
|
- * @return \Illuminate\Database\Eloquent\Model
|
|
|
+ * @return \Illuminate\Database\Eloquent\Model|$this
|
|
|
* @static
|
|
|
*/
|
|
|
public static function forceCreate($attributes)
|
|
|
@@ -12169,6 +12364,20 @@ namespace {
|
|
|
return \Illuminate\Database\Eloquent\Builder::when($value, $callback, $default);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Apply the callback's query changes if the given "value" is false.
|
|
|
+ *
|
|
|
+ * @param mixed $value
|
|
|
+ * @param callable $callback
|
|
|
+ * @param callable $default
|
|
|
+ * @return mixed
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function unless($value, $callback, $default = null)
|
|
|
+ {
|
|
|
+ return \Illuminate\Database\Eloquent\Builder::unless($value, $callback, $default);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Add a relationship count / exists condition to the query.
|
|
|
*
|
|
|
@@ -13603,6 +13812,10 @@ namespace {
|
|
|
class Validator extends \Illuminate\Support\Facades\Validator {}
|
|
|
|
|
|
class View extends \Illuminate\Support\Facades\View {}
|
|
|
+
|
|
|
+ class Excel extends \Maatwebsite\Excel\Facades\Excel {}
|
|
|
+
|
|
|
+ class Captcha extends \Mews\Captcha\Facades\Captcha {}
|
|
|
|
|
|
}
|
|
|
|