|
|
@@ -1,14 +1,13 @@
|
|
|
<?php
|
|
|
/**
|
|
|
* A helper file for Laravel 5, to provide autocomplete information to your IDE
|
|
|
- * Generated for Laravel 5.4.30 on 2017-12-08.
|
|
|
+ * Generated for Laravel 5.4.36 on 2018-08-16 17:31:31.
|
|
|
+ *
|
|
|
+ * This file should not be included in your code, only analyzed by your IDE!
|
|
|
*
|
|
|
* @author Barry vd. Heuvel <[email protected]>
|
|
|
* @see https://github.com/barryvdh/laravel-ide-helper
|
|
|
*/
|
|
|
-namespace {
|
|
|
- exit("This file should not be included, only analyzed by your IDE");
|
|
|
-}
|
|
|
|
|
|
namespace Illuminate\Support\Facades {
|
|
|
|
|
|
@@ -416,7 +415,7 @@ namespace Illuminate\Support\Facades {
|
|
|
* Register a deferred provider and service.
|
|
|
*
|
|
|
* @param string $provider
|
|
|
- * @param string $service
|
|
|
+ * @param string|null $service
|
|
|
* @return void
|
|
|
* @static
|
|
|
*/
|
|
|
@@ -6521,7 +6520,7 @@ namespace Illuminate\Support\Facades {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Returns the client IP address.
|
|
|
+ * Get the client IP address.
|
|
|
*
|
|
|
* @return string
|
|
|
* @static
|
|
|
@@ -6532,7 +6531,7 @@ namespace Illuminate\Support\Facades {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Returns the client IP addresses.
|
|
|
+ * Get the client IP addresses.
|
|
|
*
|
|
|
* @return array
|
|
|
* @static
|
|
|
@@ -6542,6 +6541,17 @@ namespace Illuminate\Support\Facades {
|
|
|
return \Illuminate\Http\Request::ips();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Get the client user agent.
|
|
|
+ *
|
|
|
+ * @return string
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function userAgent()
|
|
|
+ {
|
|
|
+ return \Illuminate\Http\Request::userAgent();
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Merge new input into the current request's input array.
|
|
|
*
|
|
|
@@ -6797,7 +6807,7 @@ namespace Illuminate\Support\Facades {
|
|
|
* @param array $cookies The COOKIE parameters
|
|
|
* @param array $files The FILES parameters
|
|
|
* @param array $server The SERVER parameters
|
|
|
- * @param string|resource $content The raw body data
|
|
|
+ * @param string|resource|null $content The raw body data
|
|
|
* @static
|
|
|
*/
|
|
|
public static function initialize($query = array(), $request = array(), $attributes = array(), $cookies = array(), $files = array(), $server = array(), $content = null)
|
|
|
@@ -6830,7 +6840,7 @@ namespace Illuminate\Support\Facades {
|
|
|
* @param array $cookies The request cookies ($_COOKIE)
|
|
|
* @param array $files The request files ($_FILES)
|
|
|
* @param array $server The server parameters ($_SERVER)
|
|
|
- * @param string $content The raw body data
|
|
|
+ * @param string|resource|null $content The raw body data
|
|
|
* @return static
|
|
|
* @static
|
|
|
*/
|
|
|
@@ -7032,8 +7042,8 @@ namespace Illuminate\Support\Facades {
|
|
|
*
|
|
|
* Order of precedence: PATH (routing placeholders or custom attributes), GET, BODY
|
|
|
*
|
|
|
- * @param string $key the key
|
|
|
- * @param mixed $default the default value if the parameter key does not exist
|
|
|
+ * @param string $key The key
|
|
|
+ * @param mixed $default The default value if the parameter key does not exist
|
|
|
* @return mixed
|
|
|
* @static
|
|
|
*/
|
|
|
@@ -7477,7 +7487,7 @@ namespace Illuminate\Support\Facades {
|
|
|
* Gets the mime type associated with the format.
|
|
|
*
|
|
|
* @param string $format The format
|
|
|
- * @return string The associated mime type (null if not found)
|
|
|
+ * @return string|null The associated mime type (null if not found)
|
|
|
* @static
|
|
|
*/
|
|
|
public static function getMimeType($format)
|
|
|
@@ -7668,6 +7678,24 @@ namespace Illuminate\Support\Facades {
|
|
|
return \Illuminate\Http\Request::isMethodCacheable();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Returns the protocol version.
|
|
|
+ *
|
|
|
+ * If the application is behind a proxy, the protocol version used in the
|
|
|
+ * requests between the client and the proxy and between the proxy and the
|
|
|
+ * server might be different. This returns the former (from the "Via" header)
|
|
|
+ * if the proxy is trusted (see "setTrustedProxies()"), otherwise it returns
|
|
|
+ * the latter (from the "SERVER_PROTOCOL" server parameter).
|
|
|
+ *
|
|
|
+ * @return string
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function getProtocolVersion()
|
|
|
+ {
|
|
|
+ //Method inherited from \Symfony\Component\HttpFoundation\Request
|
|
|
+ return \Illuminate\Http\Request::getProtocolVersion();
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Returns the request body content.
|
|
|
*
|
|
|
@@ -10040,6 +10068,18 @@ namespace Illuminate\Support\Facades {
|
|
|
return \Illuminate\Filesystem\FilesystemAdapter::exists($path);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Get the full path for the file at the given "short" path.
|
|
|
+ *
|
|
|
+ * @param string $path
|
|
|
+ * @return string
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function path($path)
|
|
|
+ {
|
|
|
+ return \Illuminate\Filesystem\FilesystemAdapter::path($path);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Get the contents of a file.
|
|
|
*
|
|
|
@@ -10235,6 +10275,20 @@ namespace Illuminate\Support\Facades {
|
|
|
return \Illuminate\Filesystem\FilesystemAdapter::url($path);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Get a temporary URL for the file at the given path.
|
|
|
+ *
|
|
|
+ * @param string $path
|
|
|
+ * @param \DateTimeInterface $expiration
|
|
|
+ * @param array $options
|
|
|
+ * @return string
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function temporaryUrl($path, $expiration, $options = array())
|
|
|
+ {
|
|
|
+ return \Illuminate\Filesystem\FilesystemAdapter::temporaryUrl($path, $expiration, $options);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Get an array of all files in a directory.
|
|
|
*
|
|
|
@@ -11701,12 +11755,13 @@ namespace Mews\Captcha\Facades {
|
|
|
* Create captcha image
|
|
|
*
|
|
|
* @param string $config
|
|
|
+ * @param boolean $api
|
|
|
* @return \Mews\Captcha\ImageManager->response
|
|
|
* @static
|
|
|
*/
|
|
|
- public static function create($config = 'default')
|
|
|
+ public static function create($config = 'default', $api = false)
|
|
|
{
|
|
|
- return \Mews\Captcha\Captcha::create($config);
|
|
|
+ return \Mews\Captcha\Captcha::create($config, $api);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -11721,6 +11776,18 @@ namespace Mews\Captcha\Facades {
|
|
|
return \Mews\Captcha\Captcha::check($value);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Captcha check
|
|
|
+ *
|
|
|
+ * @param $value
|
|
|
+ * @return bool
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function check_api($value, $key)
|
|
|
+ {
|
|
|
+ return \Mews\Captcha\Captcha::check_api($value, $key);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Generate captcha image source
|
|
|
*
|
|
|
@@ -11737,12 +11804,14 @@ namespace Mews\Captcha\Facades {
|
|
|
* Generate captcha image html tag
|
|
|
*
|
|
|
* @param null $config
|
|
|
+ * @param array $attrs HTML attributes supplied to the image tag where key is the attribute
|
|
|
+ * and the value is the attribute value
|
|
|
* @return string
|
|
|
* @static
|
|
|
*/
|
|
|
- public static function img($config = null)
|
|
|
+ public static function img($config = null, $attrs = array())
|
|
|
{
|
|
|
- return \Mews\Captcha\Captcha::img($config);
|
|
|
+ return \Mews\Captcha\Captcha::img($config, $attrs);
|
|
|
}
|
|
|
|
|
|
}
|
|
|
@@ -12295,6 +12364,38 @@ namespace Jenssegers\Agent\Facades {
|
|
|
|
|
|
}
|
|
|
|
|
|
+namespace Mews\Purifier\Facades {
|
|
|
+
|
|
|
+ class Purifier {
|
|
|
+
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ *
|
|
|
+ * @param $dirty
|
|
|
+ * @param null $config
|
|
|
+ * @return mixed
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function clean($dirty, $config = null)
|
|
|
+ {
|
|
|
+ return \Mews\Purifier\Purifier::clean($dirty, $config);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Get HTMLPurifier instance.
|
|
|
+ *
|
|
|
+ * @return \HTMLPurifier
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function getInstance()
|
|
|
+ {
|
|
|
+ return \Mews\Purifier\Purifier::getInstance();
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
namespace {
|
|
|
|
|
|
@@ -12411,7 +12512,7 @@ namespace {
|
|
|
/**
|
|
|
* Add an "or where" clause to the query.
|
|
|
*
|
|
|
- * @param string|\Closure $column
|
|
|
+ * @param string|array|\Closure $column
|
|
|
* @param string $operator
|
|
|
* @param mixed $value
|
|
|
* @return \Illuminate\Database\Eloquent\Builder|static
|
|
|
@@ -12888,7 +12989,7 @@ namespace {
|
|
|
* Execute the query and get the first result.
|
|
|
*
|
|
|
* @param array $columns
|
|
|
- * @return mixed
|
|
|
+ * @return \Illuminate\Database\Eloquent\Model|static|null
|
|
|
* @static
|
|
|
*/
|
|
|
public static function first($columns = array())
|
|
|
@@ -12910,6 +13011,18 @@ namespace {
|
|
|
return \Illuminate\Database\Eloquent\Builder::when($value, $callback, $default);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Pass the query to a given callback.
|
|
|
+ *
|
|
|
+ * @param \Closure $callback
|
|
|
+ * @return \Illuminate\Database\Query\Builder
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function tap($callback)
|
|
|
+ {
|
|
|
+ return \Illuminate\Database\Eloquent\Builder::tap($callback);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Apply the callback's query changes if the given "value" is false.
|
|
|
*
|
|
|
@@ -12968,6 +13081,18 @@ namespace {
|
|
|
return \Illuminate\Database\Eloquent\Builder::doesntHave($relation, $boolean, $callback);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Add a relationship count / exists condition to the query with an "or".
|
|
|
+ *
|
|
|
+ * @param string $relation
|
|
|
+ * @return \Illuminate\Database\Eloquent\Builder|static
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function orDoesntHave($relation)
|
|
|
+ {
|
|
|
+ return \Illuminate\Database\Eloquent\Builder::orDoesntHave($relation);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Add a relationship count / exists condition to the query with where clauses.
|
|
|
*
|
|
|
@@ -13011,6 +13136,19 @@ namespace {
|
|
|
return \Illuminate\Database\Eloquent\Builder::whereDoesntHave($relation, $callback);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Add a relationship count / exists condition to the query with where clauses and an "or".
|
|
|
+ *
|
|
|
+ * @param string $relation
|
|
|
+ * @param \Closure $callback
|
|
|
+ * @return \Illuminate\Database\Eloquent\Builder|static
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function orWhereDoesntHave($relation, $callback = null)
|
|
|
+ {
|
|
|
+ return \Illuminate\Database\Eloquent\Builder::orWhereDoesntHave($relation, $callback);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Add subselect queries to count the relations.
|
|
|
*
|
|
|
@@ -13217,18 +13355,6 @@ namespace {
|
|
|
return \Illuminate\Database\Query\Builder::crossJoin($table, $first, $operator, $second);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * Pass the query to a given callback.
|
|
|
- *
|
|
|
- * @param \Closure $callback
|
|
|
- * @return \Illuminate\Database\Query\Builder
|
|
|
- * @static
|
|
|
- */
|
|
|
- public static function tap($callback)
|
|
|
- {
|
|
|
- return \Illuminate\Database\Query\Builder::tap($callback);
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Merge an array of where clauses and bindings.
|
|
|
*
|
|
|
@@ -13289,7 +13415,7 @@ namespace {
|
|
|
* Add a raw or where clause to the query.
|
|
|
*
|
|
|
* @param string $sql
|
|
|
- * @param array $bindings
|
|
|
+ * @param mixed $bindings
|
|
|
* @return \Illuminate\Database\Query\Builder|static
|
|
|
* @static
|
|
|
*/
|
|
|
@@ -14364,6 +14490,8 @@ namespace {
|
|
|
class Captcha extends \Mews\Captcha\Facades\Captcha {}
|
|
|
|
|
|
class Agent extends \Jenssegers\Agent\Facades\Agent {}
|
|
|
+
|
|
|
+ class Purifier extends \Mews\Purifier\Facades\Purifier {}
|
|
|
|
|
|
}
|
|
|
|