phpdoc fixes
This commit is contained in:
parent
7256dc2a65
commit
690e8572aa
|
@ -95,7 +95,6 @@ public static function extend(Closure $compiler)
|
|||
*
|
||||
* @param string $view
|
||||
* @param string $path
|
||||
* @param string $compiled
|
||||
* @return bool
|
||||
*/
|
||||
public static function expired($view, $path)
|
||||
|
@ -106,7 +105,7 @@ public static function expired($view, $path)
|
|||
/**
|
||||
* Compiles the specified file containing Blade pseudo-code into valid PHP.
|
||||
*
|
||||
* @param string $path
|
||||
* @param string $view
|
||||
* @return string
|
||||
*/
|
||||
public static function compile($view)
|
||||
|
@ -168,6 +167,7 @@ function($matches) use (&$value)
|
|||
* Extract a variable value out of a Blade expression.
|
||||
*
|
||||
* @param string $value
|
||||
* @param string $expression
|
||||
* @return string
|
||||
*/
|
||||
protected static function extract($value, $expression)
|
||||
|
@ -403,6 +403,7 @@ protected static function compile_yields($value)
|
|||
/**
|
||||
* Rewrites Blade yield section statements into valid PHP.
|
||||
*
|
||||
* @param string $value
|
||||
* @return string
|
||||
*/
|
||||
protected static function compile_yield_sections($value)
|
||||
|
@ -468,7 +469,7 @@ public static function matcher($function)
|
|||
/**
|
||||
* Get the fully qualified path for a compiled view.
|
||||
*
|
||||
* @param string $view
|
||||
* @param string $path
|
||||
* @return string
|
||||
*/
|
||||
public static function compiled($path)
|
||||
|
|
|
@ -67,6 +67,7 @@ abstract public function put($key, $value, $minutes);
|
|||
* @param string $key
|
||||
* @param mixed $default
|
||||
* @param int $minutes
|
||||
* @param string $function
|
||||
* @return mixed
|
||||
*/
|
||||
public function remember($key, $default, $minutes, $function = 'put')
|
||||
|
|
|
@ -20,6 +20,7 @@ class Memcached extends Sectionable {
|
|||
* Create a new Memcached cache driver instance.
|
||||
*
|
||||
* @param Memcached $memcache
|
||||
* @param string $key
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(\Memcached $memcache, $key)
|
||||
|
|
|
@ -63,6 +63,7 @@ public function forever_in_section($section, $key, $value)
|
|||
* @param string $key
|
||||
* @param mixed $default
|
||||
* @param int $minutes
|
||||
* @param string $function
|
||||
* @return mixed
|
||||
*/
|
||||
public function remember_in_section($section, $key, $default, $minutes, $function = 'put')
|
||||
|
|
|
@ -8,7 +8,6 @@ class Help extends Task {
|
|||
/**
|
||||
* List available artisan commands.
|
||||
*
|
||||
* @param array $arguments
|
||||
* @return void
|
||||
*/
|
||||
public function commands()
|
||||
|
|
|
@ -10,6 +10,7 @@ class Runner extends Task {
|
|||
/**
|
||||
* Run all of the unit tests for the application.
|
||||
*
|
||||
* @param array $bundles
|
||||
* @return void
|
||||
*/
|
||||
public function run($bundles = array())
|
||||
|
|
|
@ -567,6 +567,7 @@ public function set_key($value)
|
|||
* Get a given attribute from the model.
|
||||
*
|
||||
* @param string $key
|
||||
* @return mixed
|
||||
*/
|
||||
public function get_attribute($key)
|
||||
{
|
||||
|
|
|
@ -79,6 +79,7 @@ public function eagerly_constrain($results)
|
|||
/**
|
||||
* Match eagerly loaded child models to their parent models.
|
||||
*
|
||||
* @param string $relationship
|
||||
* @param array $children
|
||||
* @param array $parents
|
||||
* @return void
|
||||
|
|
|
@ -83,6 +83,7 @@ public function initialize(&$parents, $relationship)
|
|||
/**
|
||||
* Match eagerly loaded child models to their parent models.
|
||||
*
|
||||
* @param string $relationship
|
||||
* @param array $parents
|
||||
* @param array $children
|
||||
* @return void
|
||||
|
|
|
@ -61,6 +61,8 @@ public function __construct($model, $associated, $table, $foreign, $other)
|
|||
*
|
||||
* By default, the name is the models sorted and joined with underscores.
|
||||
*
|
||||
* @param Model $model
|
||||
* @param string $associated
|
||||
* @return string
|
||||
*/
|
||||
protected function joining($model, $associated)
|
||||
|
@ -86,7 +88,7 @@ public function results()
|
|||
* Insert a new record into the joining table of the association.
|
||||
*
|
||||
* @param int $id
|
||||
* @param array $joining
|
||||
* @param array $attributes
|
||||
* @return bool
|
||||
*/
|
||||
public function attach($id, $attributes = array())
|
||||
|
@ -317,6 +319,7 @@ public function eagerly_constrain($results)
|
|||
/**
|
||||
* Match eagerly loaded child models to their parent models.
|
||||
*
|
||||
* @param string $relationship
|
||||
* @param array $parents
|
||||
* @param array $children
|
||||
* @return void
|
||||
|
@ -383,7 +386,7 @@ protected function hydrate_pivot(&$results)
|
|||
/**
|
||||
* Set the columns on the joining table that should be fetched.
|
||||
*
|
||||
* @param array $column
|
||||
* @param array $columns
|
||||
* @return Relationship
|
||||
*/
|
||||
public function with($columns)
|
||||
|
|
|
@ -30,6 +30,7 @@ public function initialize(&$parents, $relationship)
|
|||
/**
|
||||
* Match eagerly loaded child models to their parent models.
|
||||
*
|
||||
* @param string $relationship
|
||||
* @param array $parents
|
||||
* @param array $children
|
||||
* @return void
|
||||
|
|
|
@ -475,6 +475,7 @@ public function group_by($column)
|
|||
* @param string $column
|
||||
* @param string $operator
|
||||
* @param mixed $value
|
||||
* @return Query
|
||||
*/
|
||||
public function having($column, $operator, $value)
|
||||
{
|
||||
|
|
|
@ -44,7 +44,7 @@ public static function create($table, $callback)
|
|||
* Rename a database table in the schema.
|
||||
*
|
||||
* @param string $table
|
||||
* @param string $name
|
||||
* @param string $new_name
|
||||
* @return void
|
||||
*/
|
||||
public static function rename($table, $new_name)
|
||||
|
|
|
@ -9,7 +9,7 @@ abstract class Grammar extends \Laravel\Database\Grammar {
|
|||
* Generate the SQL statement for creating a foreign key.
|
||||
*
|
||||
* @param Table $table
|
||||
* @param Command $command
|
||||
* @param Fluent $command
|
||||
* @return string
|
||||
*/
|
||||
public function foreign(Table $table, Fluent $command)
|
||||
|
@ -54,7 +54,7 @@ public function foreign(Table $table, Fluent $command)
|
|||
* Drop a constraint from the table.
|
||||
*
|
||||
* @param Table $table
|
||||
* @param Fluent $fluent
|
||||
* @param Fluent $command
|
||||
* @return string
|
||||
*/
|
||||
protected function drop_constraint(Table $table, Fluent $command)
|
||||
|
|
|
@ -323,7 +323,7 @@ protected function drop_key(Table $table, Fluent $command)
|
|||
* Drop a foreign key constraint from the table.
|
||||
*
|
||||
* @param Table $table
|
||||
* @param Fluent $fluent
|
||||
* @param Fluent $command
|
||||
* @return string
|
||||
*/
|
||||
public function drop_foreign(Table $table, Fluent $command)
|
||||
|
|
|
@ -309,7 +309,7 @@ protected function drop_key(Table $table, Fluent $command)
|
|||
* Drop a foreign key constraint from the table.
|
||||
*
|
||||
* @param Table $table
|
||||
* @param Fluent $fluent
|
||||
* @param Fluent $command
|
||||
* @return string
|
||||
*/
|
||||
public function drop_foreign(Table $table, Fluent $command)
|
||||
|
|
|
@ -327,7 +327,7 @@ protected function drop_key(Table $table, Fluent $command)
|
|||
* Drop a foreign key constraint from the table.
|
||||
*
|
||||
* @param Table $table
|
||||
* @param Fluent $fluent
|
||||
* @param Fluent $command
|
||||
* @return string
|
||||
*/
|
||||
public function drop_foreign(Table $table, Fluent $command)
|
||||
|
|
|
@ -113,6 +113,7 @@ public function index($columns, $name = null)
|
|||
*
|
||||
* @param string|array $columns
|
||||
* @param string $name
|
||||
* @return Fluent
|
||||
*/
|
||||
public function foreign($columns, $name = null)
|
||||
{
|
||||
|
|
|
@ -176,7 +176,7 @@ public static function flush($queue)
|
|||
* $responses = Event::fire(array('start', 'loading'), $parameters);
|
||||
* </code>
|
||||
*
|
||||
* @param string|array $event
|
||||
* @param string|array $events
|
||||
* @param array $parameters
|
||||
* @param bool $halt
|
||||
* @return array
|
||||
|
|
|
@ -20,7 +20,7 @@ class Form {
|
|||
* Registers a custom macro.
|
||||
*
|
||||
* @param string $name
|
||||
* @param Closure $input
|
||||
* @param Closure $macro
|
||||
* @return void
|
||||
*/
|
||||
public static function macro($name, $macro)
|
||||
|
|
|
@ -543,7 +543,7 @@ function render($view, $data = array())
|
|||
/**
|
||||
* Get the rendered contents of a partial from a loop.
|
||||
*
|
||||
* @param string $view
|
||||
* @param string $partial
|
||||
* @param array $data
|
||||
* @param string $iterator
|
||||
* @param string $empty
|
||||
|
|
|
@ -13,7 +13,7 @@ class HTML {
|
|||
* Registers a custom macro.
|
||||
*
|
||||
* @param string $name
|
||||
* @param Closure $input
|
||||
* @param Closure $macro
|
||||
* @return void
|
||||
*/
|
||||
public static function macro($name, $macro)
|
||||
|
|
|
@ -85,6 +85,7 @@ public static function instance($name, $instance)
|
|||
* </code>
|
||||
*
|
||||
* @param string $type
|
||||
* @param array $parameters
|
||||
* @return mixed
|
||||
*/
|
||||
public static function resolve($type, $parameters = array())
|
||||
|
|
|
@ -64,7 +64,8 @@ public static function write($type, $message)
|
|||
* Format a log message for logging.
|
||||
*
|
||||
* @param string $type
|
||||
* @param
|
||||
* @param string $message
|
||||
* @return string
|
||||
*/
|
||||
protected static function format($type, $message)
|
||||
{
|
||||
|
|
|
@ -24,6 +24,7 @@ class Pluralizer {
|
|||
/**
|
||||
* Create a new pluralizer instance.
|
||||
*
|
||||
* @param array $config
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($config)
|
||||
|
|
|
@ -39,6 +39,8 @@ public static function render($response)
|
|||
/**
|
||||
* Add a log entry to the log entries array.
|
||||
*
|
||||
* @param string $type
|
||||
* @param string $message
|
||||
* @return void
|
||||
*/
|
||||
public static function log($type, $message)
|
||||
|
|
|
@ -6,7 +6,7 @@ class Redirect extends Response {
|
|||
* Create a redirect response to application root.
|
||||
*
|
||||
* @param int $status
|
||||
* @param bool $secure
|
||||
* @param bool $https
|
||||
* @return Redirect
|
||||
*/
|
||||
public static function home($status = 302, $https = null)
|
||||
|
|
|
@ -119,6 +119,7 @@ public static function accept()
|
|||
/**
|
||||
* Determine if the request accepts a given content type.
|
||||
*
|
||||
* @param string $type
|
||||
* @return bool
|
||||
*/
|
||||
public static function accepts($type)
|
||||
|
|
|
@ -292,7 +292,7 @@ public static function secure_controller($controllers, $defaults = 'index')
|
|||
/**
|
||||
* Register a controller with the router.
|
||||
*
|
||||
* @param string|array $controller
|
||||
* @param string|array $controllers
|
||||
* @param string|array $defaults
|
||||
* @param bool $https
|
||||
* @return void
|
||||
|
|
|
@ -637,6 +637,7 @@ protected function validate_alpha_dash($attribute, $value)
|
|||
*
|
||||
* @param string $attribute
|
||||
* @param mixed $value
|
||||
* @param array $parameters
|
||||
* @return bool
|
||||
*/
|
||||
protected function validate_match($attribute, $value, $parameters)
|
||||
|
|
|
@ -255,7 +255,7 @@ public static function name($view, $name)
|
|||
* });
|
||||
* </code>
|
||||
*
|
||||
* @param string|array $view
|
||||
* @param string|array $views
|
||||
* @param Closure $composer
|
||||
* @return void
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue