made phpdoc types consistent with those defined in Hack
This commit is contained in:
parent
0555b7f2ab
commit
3c9c10f3a0
@ -60,7 +60,7 @@ class WebProcessorTest extends \PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param integer $level
|
* @param int $level
|
||||||
* @param string $message
|
* @param string $message
|
||||||
*
|
*
|
||||||
* @return array Record
|
* @return array Record
|
||||||
|
@ -39,7 +39,7 @@ class LazyServiceProjectServiceContainer extends Container
|
|||||||
* This service is shared.
|
* This service is shared.
|
||||||
* This method always returns the same instance of the service.
|
* This method always returns the same instance of the service.
|
||||||
*
|
*
|
||||||
* @param boolean $lazyLoad whether to try lazy-loading the service with a proxy
|
* @param bool $lazyLoad whether to try lazy-loading the service with a proxy
|
||||||
*
|
*
|
||||||
* @return stdClass A stdClass instance.
|
* @return stdClass A stdClass instance.
|
||||||
*/
|
*/
|
||||||
|
@ -34,7 +34,7 @@ class MessageDataCollector extends DataCollector
|
|||||||
* to avoid the creation of these objects when no emails are sent.
|
* to avoid the creation of these objects when no emails are sent.
|
||||||
*
|
*
|
||||||
* @param ContainerInterface $container A ContainerInterface instance
|
* @param ContainerInterface $container A ContainerInterface instance
|
||||||
* @param Boolean $isSpool
|
* @param bool $isSpool
|
||||||
*/
|
*/
|
||||||
public function __construct(ContainerInterface $container, $isSpool)
|
public function __construct(ContainerInterface $container, $isSpool)
|
||||||
{
|
{
|
||||||
|
@ -157,7 +157,7 @@ class CodeExtension extends \Twig_Extension
|
|||||||
* Formats a file path.
|
* Formats a file path.
|
||||||
*
|
*
|
||||||
* @param string $file An absolute file path
|
* @param string $file An absolute file path
|
||||||
* @param integer $line The line number
|
* @param int $line The line number
|
||||||
* @param string $text Use this text for the link rather than the file path
|
* @param string $text Use this text for the link rather than the file path
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
@ -186,7 +186,7 @@ class CodeExtension extends \Twig_Extension
|
|||||||
* Returns the link for a given file/line pair.
|
* Returns the link for a given file/line pair.
|
||||||
*
|
*
|
||||||
* @param string $file An absolute file path
|
* @param string $file An absolute file path
|
||||||
* @param integer $line The line number
|
* @param int $line The line number
|
||||||
*
|
*
|
||||||
* @return string A link of false
|
* @return string A link of false
|
||||||
*/
|
*/
|
||||||
|
@ -412,7 +412,7 @@ EOF
|
|||||||
* Renders list of tagged services grouped by tag
|
* Renders list of tagged services grouped by tag
|
||||||
*
|
*
|
||||||
* @param OutputInterface $output
|
* @param OutputInterface $output
|
||||||
* @param Boolean $showPrivate
|
* @param bool $showPrivate
|
||||||
*/
|
*/
|
||||||
protected function outputTags(OutputInterface $output, $showPrivate = false)
|
protected function outputTags(OutputInterface $output, $showPrivate = false)
|
||||||
{
|
{
|
||||||
|
@ -38,7 +38,7 @@ class Controller extends ContainerAware
|
|||||||
*
|
*
|
||||||
* @param string $route The name of the route
|
* @param string $route The name of the route
|
||||||
* @param mixed $parameters An array of parameters
|
* @param mixed $parameters An array of parameters
|
||||||
* @param Boolean|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
|
* @param bool|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
|
||||||
*
|
*
|
||||||
* @return string The generated URL
|
* @return string The generated URL
|
||||||
*
|
*
|
||||||
@ -70,7 +70,7 @@ class Controller extends ContainerAware
|
|||||||
* Returns a RedirectResponse to the given URL.
|
* Returns a RedirectResponse to the given URL.
|
||||||
*
|
*
|
||||||
* @param string $url The URL to redirect to
|
* @param string $url The URL to redirect to
|
||||||
* @param integer $status The status code to use for the Response
|
* @param int $status The status code to use for the Response
|
||||||
*
|
*
|
||||||
* @return RedirectResponse
|
* @return RedirectResponse
|
||||||
*/
|
*/
|
||||||
|
@ -36,8 +36,8 @@ class RedirectController extends ContainerAware
|
|||||||
*
|
*
|
||||||
* @param Request $request The request instance
|
* @param Request $request The request instance
|
||||||
* @param string $route The route name to redirect to
|
* @param string $route The route name to redirect to
|
||||||
* @param Boolean $permanent Whether the redirection is permanent
|
* @param bool $permanent Whether the redirection is permanent
|
||||||
* @param Boolean|array $ignoreAttributes Whether to ignore attributes or an array of attributes to ignore
|
* @param bool|array $ignoreAttributes Whether to ignore attributes or an array of attributes to ignore
|
||||||
*
|
*
|
||||||
* @return Response A Response instance
|
* @return Response A Response instance
|
||||||
*
|
*
|
||||||
@ -72,10 +72,10 @@ class RedirectController extends ContainerAware
|
|||||||
*
|
*
|
||||||
* @param Request $request The request instance
|
* @param Request $request The request instance
|
||||||
* @param string $path The absolute path or URL to redirect to
|
* @param string $path The absolute path or URL to redirect to
|
||||||
* @param Boolean $permanent Whether the redirect is permanent or not
|
* @param bool $permanent Whether the redirect is permanent or not
|
||||||
* @param string|null $scheme The URL scheme (null to keep the current one)
|
* @param string|null $scheme The URL scheme (null to keep the current one)
|
||||||
* @param integer|null $httpPort The HTTP port (null to keep the current one for the same scheme or the configured port in the container)
|
* @param int |null $httpPort The HTTP port (null to keep the current one for the same scheme or the configured port in the container)
|
||||||
* @param integer|null $httpsPort The HTTPS port (null to keep the current one for the same scheme or the configured port in the container)
|
* @param int |null $httpsPort The HTTPS port (null to keep the current one for the same scheme or the configured port in the container)
|
||||||
*
|
*
|
||||||
* @return Response A Response instance
|
* @return Response A Response instance
|
||||||
*
|
*
|
||||||
|
@ -27,7 +27,7 @@ class TemplateController extends ContainerAware
|
|||||||
* @param string $template The template name
|
* @param string $template The template name
|
||||||
* @param int|null $maxAge Max age for client caching
|
* @param int|null $maxAge Max age for client caching
|
||||||
* @param int|null $sharedAge Max age for shared (proxy) caching
|
* @param int|null $sharedAge Max age for shared (proxy) caching
|
||||||
* @param Boolean|null $private Whether or not caching should apply for client caches only
|
* @param bool|null $private Whether or not caching should apply for client caches only
|
||||||
*
|
*
|
||||||
* @return Response A Response instance
|
* @return Response A Response instance
|
||||||
*/
|
*/
|
||||||
|
@ -46,7 +46,7 @@ abstract class HttpCache extends BaseHttpCache
|
|||||||
* Forwards the Request to the backend and returns the Response.
|
* Forwards the Request to the backend and returns the Response.
|
||||||
*
|
*
|
||||||
* @param Request $request A Request instance
|
* @param Request $request A Request instance
|
||||||
* @param Boolean $raw Whether to catch exceptions or not
|
* @param bool $raw Whether to catch exceptions or not
|
||||||
* @param Response $entry A Response instance (the stale entry if present, null otherwise)
|
* @param Response $entry A Response instance (the stale entry if present, null otherwise)
|
||||||
*
|
*
|
||||||
* @return Response A Response instance
|
* @return Response A Response instance
|
||||||
|
@ -151,7 +151,7 @@ class CodeHelper extends Helper
|
|||||||
* Formats a file path.
|
* Formats a file path.
|
||||||
*
|
*
|
||||||
* @param string $file An absolute file path
|
* @param string $file An absolute file path
|
||||||
* @param integer $line The line number
|
* @param int $line The line number
|
||||||
* @param string $text Use this text for the link rather than the file path
|
* @param string $text Use this text for the link rather than the file path
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
@ -180,7 +180,7 @@ class CodeHelper extends Helper
|
|||||||
* Returns the link for a given file/line pair.
|
* Returns the link for a given file/line pair.
|
||||||
*
|
*
|
||||||
* @param string $file An absolute file path
|
* @param string $file An absolute file path
|
||||||
* @param integer $line The line number
|
* @param int $line The line number
|
||||||
*
|
*
|
||||||
* @return string A link of false
|
* @return string A link of false
|
||||||
*/
|
*/
|
||||||
|
@ -38,7 +38,7 @@ class RouterHelper extends Helper
|
|||||||
*
|
*
|
||||||
* @param string $name The name of the route
|
* @param string $name The name of the route
|
||||||
* @param mixed $parameters An array of parameters
|
* @param mixed $parameters An array of parameters
|
||||||
* @param Boolean|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
|
* @param bool|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
|
||||||
*
|
*
|
||||||
* @return string The generated URL
|
* @return string The generated URL
|
||||||
*
|
*
|
||||||
|
@ -57,7 +57,7 @@ class FilesystemLoader implements LoaderInterface
|
|||||||
* Returns true if the template is still fresh.
|
* Returns true if the template is still fresh.
|
||||||
*
|
*
|
||||||
* @param TemplateReferenceInterface $template The template name as an array
|
* @param TemplateReferenceInterface $template The template name as an array
|
||||||
* @param integer $time The last modification time of the cached template (timestamp)
|
* @param int $time The last modification time of the cached template (timestamp)
|
||||||
*
|
*
|
||||||
* @return Boolean
|
* @return Boolean
|
||||||
*/
|
*/
|
||||||
|
@ -56,7 +56,7 @@ class TemplateLocator implements FileLocatorInterface
|
|||||||
*
|
*
|
||||||
* @param TemplateReferenceInterface $template A template
|
* @param TemplateReferenceInterface $template A template
|
||||||
* @param string $currentPath Unused
|
* @param string $currentPath Unused
|
||||||
* @param Boolean $first Unused
|
* @param bool $first Unused
|
||||||
*
|
*
|
||||||
* @return string The full path for the file
|
* @return string The full path for the file
|
||||||
*
|
*
|
||||||
|
@ -82,7 +82,7 @@ class LogoutUrlHelper extends Helper
|
|||||||
* Generates the logout URL for the firewall.
|
* Generates the logout URL for the firewall.
|
||||||
*
|
*
|
||||||
* @param string $key The firewall key
|
* @param string $key The firewall key
|
||||||
* @param Boolean|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
|
* @param bool|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
|
||||||
*
|
*
|
||||||
* @return string The logout URL
|
* @return string The logout URL
|
||||||
*
|
*
|
||||||
|
@ -64,7 +64,7 @@ class ExceptionController
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param integer $startObLevel
|
* @param int $startObLevel
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
@ -86,8 +86,8 @@ class ExceptionController
|
|||||||
/**
|
/**
|
||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @param string $format
|
* @param string $format
|
||||||
* @param integer $code An HTTP response status code
|
* @param int $code An HTTP response status code
|
||||||
* @param Boolean $debug
|
* @param bool $debug
|
||||||
*
|
*
|
||||||
* @return TemplateReference
|
* @return TemplateReference
|
||||||
*/
|
*/
|
||||||
|
@ -70,7 +70,7 @@ abstract class Client
|
|||||||
/**
|
/**
|
||||||
* Sets whether to automatically follow redirects or not.
|
* Sets whether to automatically follow redirects or not.
|
||||||
*
|
*
|
||||||
* @param Boolean $followRedirect Whether to follow redirects
|
* @param bool $followRedirect Whether to follow redirects
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
@ -82,7 +82,7 @@ abstract class Client
|
|||||||
/**
|
/**
|
||||||
* Sets the maximum number of requests that crawler can follow.
|
* Sets the maximum number of requests that crawler can follow.
|
||||||
*
|
*
|
||||||
* @param integer $maxRedirects
|
* @param int $maxRedirects
|
||||||
*/
|
*/
|
||||||
public function setMaxRedirects($maxRedirects)
|
public function setMaxRedirects($maxRedirects)
|
||||||
{
|
{
|
||||||
@ -93,7 +93,7 @@ abstract class Client
|
|||||||
/**
|
/**
|
||||||
* Sets the insulated flag.
|
* Sets the insulated flag.
|
||||||
*
|
*
|
||||||
* @param Boolean $insulated Whether to insulate the requests or not
|
* @param bool $insulated Whether to insulate the requests or not
|
||||||
*
|
*
|
||||||
* @throws \RuntimeException When Symfony Process Component is not installed
|
* @throws \RuntimeException When Symfony Process Component is not installed
|
||||||
*
|
*
|
||||||
@ -287,7 +287,7 @@ abstract class Client
|
|||||||
* @param array $files The files
|
* @param array $files The files
|
||||||
* @param array $server The server parameters (HTTP headers are referenced with a HTTP_ prefix as PHP does)
|
* @param array $server The server parameters (HTTP headers are referenced with a HTTP_ prefix as PHP does)
|
||||||
* @param string $content The raw body data
|
* @param string $content The raw body data
|
||||||
* @param Boolean $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
|
* @param bool $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
|
||||||
*
|
*
|
||||||
* @return Crawler
|
* @return Crawler
|
||||||
*
|
*
|
||||||
@ -601,7 +601,7 @@ abstract class Client
|
|||||||
* Makes a request from a Request object directly.
|
* Makes a request from a Request object directly.
|
||||||
*
|
*
|
||||||
* @param Request $request A Request instance
|
* @param Request $request A Request instance
|
||||||
* @param Boolean $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
|
* @param bool $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
|
||||||
*
|
*
|
||||||
* @return Crawler
|
* @return Crawler
|
||||||
*/
|
*/
|
||||||
|
@ -53,9 +53,9 @@ class Cookie
|
|||||||
* @param string $expires The time the cookie expires
|
* @param string $expires The time the cookie expires
|
||||||
* @param string $path The path on the server in which the cookie will be available on
|
* @param string $path The path on the server in which the cookie will be available on
|
||||||
* @param string $domain The domain that the cookie is available
|
* @param string $domain The domain that the cookie is available
|
||||||
* @param Boolean $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client
|
* @param bool $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client
|
||||||
* @param Boolean $httponly The cookie httponly flag
|
* @param bool $httponly The cookie httponly flag
|
||||||
* @param Boolean $encodedValue Whether the value is encoded or not
|
* @param bool $encodedValue Whether the value is encoded or not
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
@ -201,7 +201,7 @@ class CookieJar
|
|||||||
* Returns not yet expired cookie values for the given URI.
|
* Returns not yet expired cookie values for the given URI.
|
||||||
*
|
*
|
||||||
* @param string $uri A URI
|
* @param string $uri A URI
|
||||||
* @param Boolean $returnsRawValue Returns raw value or urldecoded value
|
* @param bool $returnsRawValue Returns raw value or urldecoded value
|
||||||
*
|
*
|
||||||
* @return array An array of cookie values
|
* @return array An array of cookie values
|
||||||
*/
|
*/
|
||||||
|
@ -31,7 +31,7 @@ class Response
|
|||||||
* then the value is an array of all the values.
|
* then the value is an array of all the values.
|
||||||
*
|
*
|
||||||
* @param string $content The content of the response
|
* @param string $content The content of the response
|
||||||
* @param integer $status The response status code
|
* @param int $status The response status code
|
||||||
* @param array $headers An array of headers
|
* @param array $headers An array of headers
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
@ -117,7 +117,7 @@ class Response
|
|||||||
* Gets a response header.
|
* Gets a response header.
|
||||||
*
|
*
|
||||||
* @param string $header The header name
|
* @param string $header The header name
|
||||||
* @param Boolean $first Whether to return the first value or all header values
|
* @param bool $first Whether to return the first value or all header values
|
||||||
*
|
*
|
||||||
* @return string|array The first header value if $first is true, an array of values otherwise
|
* @return string|array The first header value if $first is true, an array of values otherwise
|
||||||
*/
|
*/
|
||||||
|
@ -79,7 +79,7 @@ class ApcClassLoader
|
|||||||
/**
|
/**
|
||||||
* Registers this instance as an autoloader.
|
* Registers this instance as an autoloader.
|
||||||
*
|
*
|
||||||
* @param Boolean $prepend Whether to prepend the autoloader or not
|
* @param bool $prepend Whether to prepend the autoloader or not
|
||||||
*/
|
*/
|
||||||
public function register($prepend = false)
|
public function register($prepend = false)
|
||||||
{
|
{
|
||||||
|
@ -28,8 +28,8 @@ class ClassCollectionLoader
|
|||||||
* @param array $classes An array of classes to load
|
* @param array $classes An array of classes to load
|
||||||
* @param string $cacheDir A cache directory
|
* @param string $cacheDir A cache directory
|
||||||
* @param string $name The cache name prefix
|
* @param string $name The cache name prefix
|
||||||
* @param Boolean $autoReload Whether to flush the cache when the cache is stale or not
|
* @param bool $autoReload Whether to flush the cache when the cache is stale or not
|
||||||
* @param Boolean $adaptive Whether to remove already declared classes or not
|
* @param bool $adaptive Whether to remove already declared classes or not
|
||||||
* @param string $extension File extension of the resulting file
|
* @param string $extension File extension of the resulting file
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException When class can't be loaded
|
* @throws \InvalidArgumentException When class can't be loaded
|
||||||
|
@ -103,7 +103,7 @@ class ClassLoader
|
|||||||
/**
|
/**
|
||||||
* Turns on searching the include for class files.
|
* Turns on searching the include for class files.
|
||||||
*
|
*
|
||||||
* @param Boolean $useIncludePath
|
* @param bool $useIncludePath
|
||||||
*/
|
*/
|
||||||
public function setUseIncludePath($useIncludePath)
|
public function setUseIncludePath($useIncludePath)
|
||||||
{
|
{
|
||||||
@ -124,7 +124,7 @@ class ClassLoader
|
|||||||
/**
|
/**
|
||||||
* Registers this instance as an autoloader.
|
* Registers this instance as an autoloader.
|
||||||
*
|
*
|
||||||
* @param Boolean $prepend Whether to prepend the autoloader or not
|
* @param bool $prepend Whether to prepend the autoloader or not
|
||||||
*/
|
*/
|
||||||
public function register($prepend = false)
|
public function register($prepend = false)
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ class MapClassLoader
|
|||||||
/**
|
/**
|
||||||
* Registers this instance as an autoloader.
|
* Registers this instance as an autoloader.
|
||||||
*
|
*
|
||||||
* @param Boolean $prepend Whether to prepend the autoloader or not
|
* @param bool $prepend Whether to prepend the autoloader or not
|
||||||
*/
|
*/
|
||||||
public function register($prepend = false)
|
public function register($prepend = false)
|
||||||
{
|
{
|
||||||
|
@ -70,7 +70,7 @@ class UniversalClassLoader
|
|||||||
* Turns on searching the include for class files. Allows easy loading
|
* Turns on searching the include for class files. Allows easy loading
|
||||||
* of installed PEAR packages
|
* of installed PEAR packages
|
||||||
*
|
*
|
||||||
* @param Boolean $useIncludePath
|
* @param bool $useIncludePath
|
||||||
*/
|
*/
|
||||||
public function useIncludePath($useIncludePath)
|
public function useIncludePath($useIncludePath)
|
||||||
{
|
{
|
||||||
@ -229,7 +229,7 @@ class UniversalClassLoader
|
|||||||
/**
|
/**
|
||||||
* Registers this instance as an autoloader.
|
* Registers this instance as an autoloader.
|
||||||
*
|
*
|
||||||
* @param Boolean $prepend Whether to prepend the autoloader or not
|
* @param bool $prepend Whether to prepend the autoloader or not
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
@ -76,7 +76,7 @@ class WinCacheClassLoader
|
|||||||
/**
|
/**
|
||||||
* Registers this instance as an autoloader.
|
* Registers this instance as an autoloader.
|
||||||
*
|
*
|
||||||
* @param Boolean $prepend Whether to prepend the autoloader or not
|
* @param bool $prepend Whether to prepend the autoloader or not
|
||||||
*/
|
*/
|
||||||
public function register($prepend = false)
|
public function register($prepend = false)
|
||||||
{
|
{
|
||||||
|
@ -73,7 +73,7 @@ class XcacheClassLoader
|
|||||||
/**
|
/**
|
||||||
* Registers this instance as an autoloader.
|
* Registers this instance as an autoloader.
|
||||||
*
|
*
|
||||||
* @param Boolean $prepend Whether to prepend the autoloader or not
|
* @param bool $prepend Whether to prepend the autoloader or not
|
||||||
*/
|
*/
|
||||||
public function register($prepend = false)
|
public function register($prepend = false)
|
||||||
{
|
{
|
||||||
|
@ -32,7 +32,7 @@ class ConfigCache
|
|||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param string $file The absolute cache path
|
* @param string $file The absolute cache path
|
||||||
* @param Boolean $debug Whether debugging is enabled or not
|
* @param bool $debug Whether debugging is enabled or not
|
||||||
*/
|
*/
|
||||||
public function __construct($file, $debug)
|
public function __construct($file, $debug)
|
||||||
{
|
{
|
||||||
|
@ -109,7 +109,7 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface
|
|||||||
* Sets whether to add default values for this array if it has not been
|
* Sets whether to add default values for this array if it has not been
|
||||||
* defined in any of the configuration files.
|
* defined in any of the configuration files.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean
|
* @param bool $boolean
|
||||||
*/
|
*/
|
||||||
public function setAddIfNotSet($boolean)
|
public function setAddIfNotSet($boolean)
|
||||||
{
|
{
|
||||||
@ -119,7 +119,7 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface
|
|||||||
/**
|
/**
|
||||||
* Sets whether false is allowed as value indicating that the array should be unset.
|
* Sets whether false is allowed as value indicating that the array should be unset.
|
||||||
*
|
*
|
||||||
* @param Boolean $allow
|
* @param bool $allow
|
||||||
*/
|
*/
|
||||||
public function setAllowFalse($allow)
|
public function setAllowFalse($allow)
|
||||||
{
|
{
|
||||||
@ -129,7 +129,7 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface
|
|||||||
/**
|
/**
|
||||||
* Sets whether new keys can be defined in subsequent configurations.
|
* Sets whether new keys can be defined in subsequent configurations.
|
||||||
*
|
*
|
||||||
* @param Boolean $allow
|
* @param bool $allow
|
||||||
*/
|
*/
|
||||||
public function setAllowNewKeys($allow)
|
public function setAllowNewKeys($allow)
|
||||||
{
|
{
|
||||||
@ -139,7 +139,7 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface
|
|||||||
/**
|
/**
|
||||||
* Sets if deep merging should occur.
|
* Sets if deep merging should occur.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean
|
* @param bool $boolean
|
||||||
*/
|
*/
|
||||||
public function setPerformDeepMerging($boolean)
|
public function setPerformDeepMerging($boolean)
|
||||||
{
|
{
|
||||||
@ -149,7 +149,7 @@ class ArrayNode extends BaseNode implements PrototypeNodeInterface
|
|||||||
/**
|
/**
|
||||||
* Whether extra keys should just be ignore without an exception.
|
* Whether extra keys should just be ignore without an exception.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean To allow extra keys
|
* @param bool $boolean To allow extra keys
|
||||||
*/
|
*/
|
||||||
public function setIgnoreExtraKeys($boolean)
|
public function setIgnoreExtraKeys($boolean)
|
||||||
{
|
{
|
||||||
|
@ -138,7 +138,7 @@ abstract class BaseNode implements NodeInterface
|
|||||||
/**
|
/**
|
||||||
* Set this node as required.
|
* Set this node as required.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean Required node
|
* @param bool $boolean Required node
|
||||||
*/
|
*/
|
||||||
public function setRequired($boolean)
|
public function setRequired($boolean)
|
||||||
{
|
{
|
||||||
@ -148,7 +148,7 @@ abstract class BaseNode implements NodeInterface
|
|||||||
/**
|
/**
|
||||||
* Sets if this node can be overridden.
|
* Sets if this node can be overridden.
|
||||||
*
|
*
|
||||||
* @param Boolean $allow
|
* @param bool $allow
|
||||||
*/
|
*/
|
||||||
public function setAllowOverwrite($allow)
|
public function setAllowOverwrite($allow)
|
||||||
{
|
{
|
||||||
|
@ -105,7 +105,7 @@ class ArrayNodeDefinition extends NodeDefinition implements ParentNodeDefinition
|
|||||||
/**
|
/**
|
||||||
* Adds children with a default value when none are defined.
|
* Adds children with a default value when none are defined.
|
||||||
*
|
*
|
||||||
* @param integer|string|array|null $children The number of children|The child name|The children names to be added
|
* @param int |string|array|null $children The number of children|The child name|The children names to be added
|
||||||
*
|
*
|
||||||
* This method is applicable to prototype nodes only.
|
* This method is applicable to prototype nodes only.
|
||||||
*
|
*
|
||||||
@ -185,7 +185,7 @@ class ArrayNodeDefinition extends NodeDefinition implements ParentNodeDefinition
|
|||||||
* This method is applicable to prototype nodes only.
|
* This method is applicable to prototype nodes only.
|
||||||
*
|
*
|
||||||
* @param string $name The name of the key
|
* @param string $name The name of the key
|
||||||
* @param Boolean $removeKeyItem Whether or not the key item should be removed.
|
* @param bool $removeKeyItem Whether or not the key item should be removed.
|
||||||
*
|
*
|
||||||
* @return ArrayNodeDefinition
|
* @return ArrayNodeDefinition
|
||||||
*/
|
*/
|
||||||
@ -200,7 +200,7 @@ class ArrayNodeDefinition extends NodeDefinition implements ParentNodeDefinition
|
|||||||
/**
|
/**
|
||||||
* Sets whether the node can be unset.
|
* Sets whether the node can be unset.
|
||||||
*
|
*
|
||||||
* @param Boolean $allow
|
* @param bool $allow
|
||||||
*
|
*
|
||||||
* @return ArrayNodeDefinition
|
* @return ArrayNodeDefinition
|
||||||
*/
|
*/
|
||||||
@ -303,7 +303,7 @@ class ArrayNodeDefinition extends NodeDefinition implements ParentNodeDefinition
|
|||||||
/**
|
/**
|
||||||
* Sets key normalization.
|
* Sets key normalization.
|
||||||
*
|
*
|
||||||
* @param Boolean $bool Whether to enable key normalization
|
* @param bool $bool Whether to enable key normalization
|
||||||
*
|
*
|
||||||
* @return ArrayNodeDefinition
|
* @return ArrayNodeDefinition
|
||||||
*/
|
*/
|
||||||
|
@ -37,7 +37,7 @@ class MergeBuilder
|
|||||||
/**
|
/**
|
||||||
* Sets whether the node can be unset.
|
* Sets whether the node can be unset.
|
||||||
*
|
*
|
||||||
* @param Boolean $allow
|
* @param bool $allow
|
||||||
*
|
*
|
||||||
* @return MergeBuilder
|
* @return MergeBuilder
|
||||||
*/
|
*/
|
||||||
@ -51,7 +51,7 @@ class MergeBuilder
|
|||||||
/**
|
/**
|
||||||
* Sets whether the node can be overwritten.
|
* Sets whether the node can be overwritten.
|
||||||
*
|
*
|
||||||
* @param Boolean $deny Whether the overwriting is forbidden or not
|
* @param bool $deny Whether the overwriting is forbidden or not
|
||||||
*
|
*
|
||||||
* @return MergeBuilder
|
* @return MergeBuilder
|
||||||
*/
|
*/
|
||||||
|
@ -120,7 +120,7 @@ abstract class NodeDefinition implements NodeParentInterface
|
|||||||
/**
|
/**
|
||||||
* Creates the node.
|
* Creates the node.
|
||||||
*
|
*
|
||||||
* @param Boolean $forceRootNode Whether to force this node as the root node
|
* @param bool $forceRootNode Whether to force this node as the root node
|
||||||
*
|
*
|
||||||
* @return NodeInterface
|
* @return NodeInterface
|
||||||
*/
|
*/
|
||||||
@ -282,7 +282,7 @@ abstract class NodeDefinition implements NodeParentInterface
|
|||||||
/**
|
/**
|
||||||
* Sets whether the node can be overwritten.
|
* Sets whether the node can be overwritten.
|
||||||
*
|
*
|
||||||
* @param Boolean $deny Whether the overwriting is forbidden or not
|
* @param bool $deny Whether the overwriting is forbidden or not
|
||||||
*
|
*
|
||||||
* @return NodeDefinition
|
* @return NodeDefinition
|
||||||
*/
|
*/
|
||||||
|
@ -48,7 +48,7 @@ class PrototypedArrayNode extends ArrayNode
|
|||||||
* Sets the minimum number of elements that a prototype based node must
|
* Sets the minimum number of elements that a prototype based node must
|
||||||
* contain. By default this is zero, meaning no elements.
|
* contain. By default this is zero, meaning no elements.
|
||||||
*
|
*
|
||||||
* @param integer $number
|
* @param int $number
|
||||||
*/
|
*/
|
||||||
public function setMinNumberOfElements($number)
|
public function setMinNumberOfElements($number)
|
||||||
{
|
{
|
||||||
@ -77,7 +77,7 @@ class PrototypedArrayNode extends ArrayNode
|
|||||||
* array, then you can set the second argument of this method to false.
|
* array, then you can set the second argument of this method to false.
|
||||||
*
|
*
|
||||||
* @param string $attribute The name of the attribute which value is to be used as a key
|
* @param string $attribute The name of the attribute which value is to be used as a key
|
||||||
* @param Boolean $remove Whether or not to remove the key
|
* @param bool $remove Whether or not to remove the key
|
||||||
*/
|
*/
|
||||||
public function setKeyAttribute($attribute, $remove = true)
|
public function setKeyAttribute($attribute, $remove = true)
|
||||||
{
|
{
|
||||||
@ -124,7 +124,7 @@ class PrototypedArrayNode extends ArrayNode
|
|||||||
/**
|
/**
|
||||||
* Adds default children when none are set.
|
* Adds default children when none are set.
|
||||||
*
|
*
|
||||||
* @param integer|string|array|null $children The number of children|The child name|The children names to be added
|
* @param int |string|array|null $children The number of children|The child name|The children names to be added
|
||||||
*/
|
*/
|
||||||
public function setAddChildrenIfNoneSet($children = array('defaults'))
|
public function setAddChildrenIfNoneSet($children = array('defaults'))
|
||||||
{
|
{
|
||||||
|
@ -39,7 +39,7 @@ class ReferenceDumper
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param NodeInterface $node
|
* @param NodeInterface $node
|
||||||
* @param integer $depth
|
* @param int $depth
|
||||||
*/
|
*/
|
||||||
private function writeNode(NodeInterface $node, $depth = 0)
|
private function writeNode(NodeInterface $node, $depth = 0)
|
||||||
{
|
{
|
||||||
|
@ -55,7 +55,7 @@ class VariableNode extends BaseNode implements PrototypeNodeInterface
|
|||||||
/**
|
/**
|
||||||
* Sets if this node is allowed to have an empty value.
|
* Sets if this node is allowed to have an empty value.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean True if this entity will accept empty values.
|
* @param bool $boolean True if this entity will accept empty values.
|
||||||
*/
|
*/
|
||||||
public function setAllowEmptyValue($boolean)
|
public function setAllowEmptyValue($boolean)
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,7 @@ class FileLoaderLoadException extends \Exception
|
|||||||
/**
|
/**
|
||||||
* @param string $resource The resource that could not be imported
|
* @param string $resource The resource that could not be imported
|
||||||
* @param string $sourceResource The original resource importing the new resource
|
* @param string $sourceResource The original resource importing the new resource
|
||||||
* @param integer $code The error code
|
* @param int $code The error code
|
||||||
* @param \Exception $previous A previous exception
|
* @param \Exception $previous A previous exception
|
||||||
*/
|
*/
|
||||||
public function __construct($resource, $sourceResource = null, $code = null, $previous = null)
|
public function __construct($resource, $sourceResource = null, $code = null, $previous = null)
|
||||||
|
@ -35,7 +35,7 @@ class FileLocator implements FileLocatorInterface
|
|||||||
*
|
*
|
||||||
* @param mixed $name The file name to locate
|
* @param mixed $name The file name to locate
|
||||||
* @param string $currentPath The current path
|
* @param string $currentPath The current path
|
||||||
* @param Boolean $first Whether to return the first occurrence or an array of filenames
|
* @param bool $first Whether to return the first occurrence or an array of filenames
|
||||||
*
|
*
|
||||||
* @return string|array The full path to the file|An array of file paths
|
* @return string|array The full path to the file|An array of file paths
|
||||||
*
|
*
|
||||||
|
@ -21,7 +21,7 @@ interface FileLocatorInterface
|
|||||||
*
|
*
|
||||||
* @param mixed $name The file name to locate
|
* @param mixed $name The file name to locate
|
||||||
* @param string $currentPath The current path
|
* @param string $currentPath The current path
|
||||||
* @param Boolean $first Whether to return the first occurrence or an array of filenames
|
* @param bool $first Whether to return the first occurrence or an array of filenames
|
||||||
*
|
*
|
||||||
* @return string|array The full path to the file|An array of file paths
|
* @return string|array The full path to the file|An array of file paths
|
||||||
*
|
*
|
||||||
|
@ -53,7 +53,7 @@ abstract class FileLoader extends Loader
|
|||||||
*
|
*
|
||||||
* @param mixed $resource A Resource
|
* @param mixed $resource A Resource
|
||||||
* @param string $type The resource type
|
* @param string $type The resource type
|
||||||
* @param Boolean $ignoreErrors Whether to ignore import errors or not
|
* @param bool $ignoreErrors Whether to ignore import errors or not
|
||||||
* @param string $sourceResource The original resource importing the new resource
|
* @param string $sourceResource The original resource importing the new resource
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
|
@ -61,7 +61,7 @@ class DirectoryResource implements ResourceInterface, \Serializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if the resource has not been updated since the given timestamp.
|
* Returns true if the resource has not been updated since the given timestamp.
|
||||||
*
|
*
|
||||||
* @param integer $timestamp The last time the resource was loaded
|
* @param int $timestamp The last time the resource was loaded
|
||||||
*
|
*
|
||||||
* @return Boolean true if the resource has not been updated, false otherwise
|
* @return Boolean true if the resource has not been updated, false otherwise
|
||||||
*/
|
*/
|
||||||
|
@ -55,7 +55,7 @@ class FileResource implements ResourceInterface, \Serializable
|
|||||||
/**
|
/**
|
||||||
* Returns true if the resource has not been updated since the given timestamp.
|
* Returns true if the resource has not been updated since the given timestamp.
|
||||||
*
|
*
|
||||||
* @param integer $timestamp The last time the resource was loaded
|
* @param int $timestamp The last time the resource was loaded
|
||||||
*
|
*
|
||||||
* @return Boolean true if the resource has not been updated, false otherwise
|
* @return Boolean true if the resource has not been updated, false otherwise
|
||||||
*/
|
*/
|
||||||
|
@ -28,7 +28,7 @@ interface ResourceInterface
|
|||||||
/**
|
/**
|
||||||
* Returns true if the resource has not been updated since the given timestamp.
|
* Returns true if the resource has not been updated since the given timestamp.
|
||||||
*
|
*
|
||||||
* @param integer $timestamp The last time the resource was loaded
|
* @param int $timestamp The last time the resource was loaded
|
||||||
*
|
*
|
||||||
* @return Boolean true if the resource has not been updated, false otherwise
|
* @return Boolean true if the resource has not been updated, false otherwise
|
||||||
*/
|
*/
|
||||||
|
@ -117,7 +117,7 @@ class XmlUtils
|
|||||||
* * The nested-tags are converted to keys (<foo><foo>bar</foo></foo>)
|
* * The nested-tags are converted to keys (<foo><foo>bar</foo></foo>)
|
||||||
*
|
*
|
||||||
* @param \DomElement $element A \DomElement instance
|
* @param \DomElement $element A \DomElement instance
|
||||||
* @param Boolean $checkPrefix Check prefix in an element or an attribute name
|
* @param bool $checkPrefix Check prefix in an element or an attribute name
|
||||||
*
|
*
|
||||||
* @return array A PHP array
|
* @return array A PHP array
|
||||||
*/
|
*/
|
||||||
|
@ -270,7 +270,7 @@ class Application
|
|||||||
/**
|
/**
|
||||||
* Sets whether to catch exceptions or not during commands execution.
|
* Sets whether to catch exceptions or not during commands execution.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean Whether to catch exceptions or not during commands execution
|
* @param bool $boolean Whether to catch exceptions or not during commands execution
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
@ -282,7 +282,7 @@ class Application
|
|||||||
/**
|
/**
|
||||||
* Sets whether to automatically exit after a command execution or not.
|
* Sets whether to automatically exit after a command execution or not.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean Whether to automatically exit after a command execution or not
|
* @param bool $boolean Whether to automatically exit after a command execution or not
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
@ -675,7 +675,7 @@ class Application
|
|||||||
* Returns a text representation of the Application.
|
* Returns a text representation of the Application.
|
||||||
*
|
*
|
||||||
* @param string $namespace An optional namespace name
|
* @param string $namespace An optional namespace name
|
||||||
* @param boolean $raw Whether to return raw command list
|
* @param bool $raw Whether to return raw command list
|
||||||
*
|
*
|
||||||
* @return string A string representing the Application
|
* @return string A string representing the Application
|
||||||
*
|
*
|
||||||
@ -692,7 +692,7 @@ class Application
|
|||||||
* Returns an XML representation of the Application.
|
* Returns an XML representation of the Application.
|
||||||
*
|
*
|
||||||
* @param string $namespace An optional namespace name
|
* @param string $namespace An optional namespace name
|
||||||
* @param Boolean $asDom Whether to return a DOM or an XML string
|
* @param bool $asDom Whether to return a DOM or an XML string
|
||||||
*
|
*
|
||||||
* @return string|\DOMDocument An XML string representing the Application
|
* @return string|\DOMDocument An XML string representing the Application
|
||||||
*
|
*
|
||||||
|
@ -279,7 +279,7 @@ class Command
|
|||||||
*
|
*
|
||||||
* This method is not part of public API and should not be used directly.
|
* This method is not part of public API and should not be used directly.
|
||||||
*
|
*
|
||||||
* @param Boolean $mergeArgs Whether to merge or not the Application definition arguments to Command definition arguments
|
* @param bool $mergeArgs Whether to merge or not the Application definition arguments to Command definition arguments
|
||||||
*/
|
*/
|
||||||
public function mergeApplicationDefinition($mergeArgs = true)
|
public function mergeApplicationDefinition($mergeArgs = true)
|
||||||
{
|
{
|
||||||
@ -354,7 +354,7 @@ class Command
|
|||||||
* Adds an argument.
|
* Adds an argument.
|
||||||
*
|
*
|
||||||
* @param string $name The argument name
|
* @param string $name The argument name
|
||||||
* @param integer $mode The argument mode: InputArgument::REQUIRED or InputArgument::OPTIONAL
|
* @param int $mode The argument mode: InputArgument::REQUIRED or InputArgument::OPTIONAL
|
||||||
* @param string $description A description text
|
* @param string $description A description text
|
||||||
* @param mixed $default The default value (for InputArgument::OPTIONAL mode only)
|
* @param mixed $default The default value (for InputArgument::OPTIONAL mode only)
|
||||||
*
|
*
|
||||||
@ -374,7 +374,7 @@ class Command
|
|||||||
*
|
*
|
||||||
* @param string $name The option name
|
* @param string $name The option name
|
||||||
* @param string $shortcut The shortcut (can be null)
|
* @param string $shortcut The shortcut (can be null)
|
||||||
* @param integer $mode The option mode: One of the InputOption::VALUE_* constants
|
* @param int $mode The option mode: One of the InputOption::VALUE_* constants
|
||||||
* @param string $description A description text
|
* @param string $description A description text
|
||||||
* @param mixed $default The default value (must be null for InputOption::VALUE_REQUIRED or InputOption::VALUE_NONE)
|
* @param mixed $default The default value (must be null for InputOption::VALUE_REQUIRED or InputOption::VALUE_NONE)
|
||||||
*
|
*
|
||||||
@ -583,7 +583,7 @@ class Command
|
|||||||
/**
|
/**
|
||||||
* Returns an XML representation of the command.
|
* Returns an XML representation of the command.
|
||||||
*
|
*
|
||||||
* @param Boolean $asDom Whether to return a DOM or an XML string
|
* @param bool $asDom Whether to return a DOM or an XML string
|
||||||
*
|
*
|
||||||
* @return string|\DOMDocument An XML string representing the command
|
* @return string|\DOMDocument An XML string representing the command
|
||||||
*
|
*
|
||||||
|
@ -39,7 +39,7 @@ class ConsoleTerminateEvent extends ConsoleEvent
|
|||||||
/**
|
/**
|
||||||
* Sets the exit code.
|
* Sets the exit code.
|
||||||
*
|
*
|
||||||
* @param integer $exitCode The command exit code
|
* @param int $exitCode The command exit code
|
||||||
*/
|
*/
|
||||||
public function setExitCode($exitCode)
|
public function setExitCode($exitCode)
|
||||||
{
|
{
|
||||||
|
@ -39,7 +39,7 @@ class OutputFormatter implements OutputFormatterInterface
|
|||||||
/**
|
/**
|
||||||
* Initializes console output formatter.
|
* Initializes console output formatter.
|
||||||
*
|
*
|
||||||
* @param Boolean $decorated Whether this formatter should actually decorate strings
|
* @param bool $decorated Whether this formatter should actually decorate strings
|
||||||
* @param OutputFormatterStyleInterface[] $styles Array of "name => FormatterStyle" instances
|
* @param OutputFormatterStyleInterface[] $styles Array of "name => FormatterStyle" instances
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
@ -63,7 +63,7 @@ class OutputFormatter implements OutputFormatterInterface
|
|||||||
/**
|
/**
|
||||||
* Sets the decorated flag.
|
* Sets the decorated flag.
|
||||||
*
|
*
|
||||||
* @param Boolean $decorated Whether to decorate the messages or not
|
* @param bool $decorated Whether to decorate the messages or not
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
@ -23,7 +23,7 @@ interface OutputFormatterInterface
|
|||||||
/**
|
/**
|
||||||
* Sets the decorated flag.
|
* Sets the decorated flag.
|
||||||
*
|
*
|
||||||
* @param Boolean $decorated Whether to decorate the messages or not
|
* @param bool $decorated Whether to decorate the messages or not
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
@ -49,7 +49,7 @@ class DescriptorHelper extends Helper
|
|||||||
* @param OutputInterface $output
|
* @param OutputInterface $output
|
||||||
* @param object $object
|
* @param object $object
|
||||||
* @param string $format
|
* @param string $format
|
||||||
* @param boolean $raw
|
* @param bool $raw
|
||||||
*/
|
*/
|
||||||
public function describe(OutputInterface $output, $object, $format = null, $raw = false, $namespace = null)
|
public function describe(OutputInterface $output, $object, $format = null, $raw = false, $namespace = null)
|
||||||
{
|
{
|
||||||
|
@ -31,10 +31,10 @@ class DialogHelper extends Helper
|
|||||||
* @param OutputInterface $output An Output instance
|
* @param OutputInterface $output An Output instance
|
||||||
* @param string|array $question The question to ask
|
* @param string|array $question The question to ask
|
||||||
* @param array $choices List of choices to pick from
|
* @param array $choices List of choices to pick from
|
||||||
* @param Boolean|string $default The default answer if the user enters nothing
|
* @param bool|string $default The default answer if the user enters nothing
|
||||||
* @param Boolean|integer $attempts Max number of times to ask before giving up (false by default, which means infinite)
|
* @param bool|integer $attempts Max number of times to ask before giving up (false by default, which means infinite)
|
||||||
* @param string $errorMessage Message which will be shown if invalid value from choice list would be picked
|
* @param string $errorMessage Message which will be shown if invalid value from choice list would be picked
|
||||||
* @param Boolean $multiselect Select more than one value separated by comma
|
* @param bool $multiselect Select more than one value separated by comma
|
||||||
*
|
*
|
||||||
* @return integer|string|array The selected value or values (the key of the choices array)
|
* @return integer|string|array The selected value or values (the key of the choices array)
|
||||||
*
|
*
|
||||||
@ -223,7 +223,7 @@ class DialogHelper extends Helper
|
|||||||
*
|
*
|
||||||
* @param OutputInterface $output An Output instance
|
* @param OutputInterface $output An Output instance
|
||||||
* @param string|array $question The question to ask
|
* @param string|array $question The question to ask
|
||||||
* @param Boolean $default The default answer if the user enters nothing
|
* @param bool $default The default answer if the user enters nothing
|
||||||
*
|
*
|
||||||
* @return Boolean true if the user has confirmed, false otherwise
|
* @return Boolean true if the user has confirmed, false otherwise
|
||||||
*/
|
*/
|
||||||
@ -246,7 +246,7 @@ class DialogHelper extends Helper
|
|||||||
*
|
*
|
||||||
* @param OutputInterface $output An Output instance
|
* @param OutputInterface $output An Output instance
|
||||||
* @param string|array $question The question
|
* @param string|array $question The question
|
||||||
* @param Boolean $fallback In case the response can not be hidden, whether to fallback on non-hidden question or not
|
* @param bool $fallback In case the response can not be hidden, whether to fallback on non-hidden question or not
|
||||||
*
|
*
|
||||||
* @return string The answer
|
* @return string The answer
|
||||||
*
|
*
|
||||||
@ -321,7 +321,7 @@ class DialogHelper extends Helper
|
|||||||
* @param OutputInterface $output An Output instance
|
* @param OutputInterface $output An Output instance
|
||||||
* @param string|array $question The question to ask
|
* @param string|array $question The question to ask
|
||||||
* @param callable $validator A PHP callback
|
* @param callable $validator A PHP callback
|
||||||
* @param integer $attempts Max number of times to ask before giving up (false by default, which means infinite)
|
* @param int $attempts Max number of times to ask before giving up (false by default, which means infinite)
|
||||||
* @param string $default The default answer if none is given by the user
|
* @param string $default The default answer if none is given by the user
|
||||||
* @param array $autocomplete List of values to autocomplete
|
* @param array $autocomplete List of values to autocomplete
|
||||||
*
|
*
|
||||||
@ -350,8 +350,8 @@ class DialogHelper extends Helper
|
|||||||
* @param OutputInterface $output An Output instance
|
* @param OutputInterface $output An Output instance
|
||||||
* @param string|array $question The question to ask
|
* @param string|array $question The question to ask
|
||||||
* @param callable $validator A PHP callback
|
* @param callable $validator A PHP callback
|
||||||
* @param integer $attempts Max number of times to ask before giving up (false by default, which means infinite)
|
* @param int $attempts Max number of times to ask before giving up (false by default, which means infinite)
|
||||||
* @param Boolean $fallback In case the response can not be hidden, whether to fallback on non-hidden question or not
|
* @param bool $fallback In case the response can not be hidden, whether to fallback on non-hidden question or not
|
||||||
*
|
*
|
||||||
* @return string The response
|
* @return string The response
|
||||||
*
|
*
|
||||||
@ -444,7 +444,7 @@ class DialogHelper extends Helper
|
|||||||
* @param callable $interviewer A callable that will ask for a question and return the result
|
* @param callable $interviewer A callable that will ask for a question and return the result
|
||||||
* @param OutputInterface $output An Output instance
|
* @param OutputInterface $output An Output instance
|
||||||
* @param callable $validator A PHP callback
|
* @param callable $validator A PHP callback
|
||||||
* @param integer $attempts Max number of times to ask before giving up ; false will ask infinitely
|
* @param int $attempts Max number of times to ask before giving up ; false will ask infinitely
|
||||||
*
|
*
|
||||||
* @return string The validated response
|
* @return string The validated response
|
||||||
*
|
*
|
||||||
|
@ -39,7 +39,7 @@ class FormatterHelper extends Helper
|
|||||||
*
|
*
|
||||||
* @param string|array $messages The message to write in the block
|
* @param string|array $messages The message to write in the block
|
||||||
* @param string $style The style to apply to the whole block
|
* @param string $style The style to apply to the whole block
|
||||||
* @param Boolean $large Whether to return a large block
|
* @param bool $large Whether to return a large block
|
||||||
*
|
*
|
||||||
* @return string The formatter message
|
* @return string The formatter message
|
||||||
*/
|
*/
|
||||||
|
@ -178,7 +178,7 @@ class ProgressHelper extends Helper
|
|||||||
* Starts the progress output.
|
* Starts the progress output.
|
||||||
*
|
*
|
||||||
* @param OutputInterface $output An Output instance
|
* @param OutputInterface $output An Output instance
|
||||||
* @param integer|null $max Maximum steps
|
* @param int |null $max Maximum steps
|
||||||
*/
|
*/
|
||||||
public function start(OutputInterface $output, $max = null)
|
public function start(OutputInterface $output, $max = null)
|
||||||
{
|
{
|
||||||
@ -220,8 +220,8 @@ class ProgressHelper extends Helper
|
|||||||
/**
|
/**
|
||||||
* Advances the progress output X steps.
|
* Advances the progress output X steps.
|
||||||
*
|
*
|
||||||
* @param integer $step Number of steps to advance
|
* @param int $step Number of steps to advance
|
||||||
* @param Boolean $redraw Whether to redraw or not
|
* @param bool $redraw Whether to redraw or not
|
||||||
*
|
*
|
||||||
* @throws \LogicException
|
* @throws \LogicException
|
||||||
*/
|
*/
|
||||||
@ -248,8 +248,8 @@ class ProgressHelper extends Helper
|
|||||||
/**
|
/**
|
||||||
* Sets the current progress.
|
* Sets the current progress.
|
||||||
*
|
*
|
||||||
* @param integer $current The current progress
|
* @param int $current The current progress
|
||||||
* @param Boolean $redraw Whether to redraw or not
|
* @param bool $redraw Whether to redraw or not
|
||||||
*
|
*
|
||||||
* @throws \LogicException
|
* @throws \LogicException
|
||||||
*/
|
*/
|
||||||
@ -282,7 +282,7 @@ class ProgressHelper extends Helper
|
|||||||
/**
|
/**
|
||||||
* Outputs the current progress string.
|
* Outputs the current progress string.
|
||||||
*
|
*
|
||||||
* @param Boolean $finish Forces the end result
|
* @param bool $finish Forces the end result
|
||||||
*
|
*
|
||||||
* @throws \LogicException
|
* @throws \LogicException
|
||||||
*/
|
*/
|
||||||
@ -343,7 +343,7 @@ class ProgressHelper extends Helper
|
|||||||
/**
|
/**
|
||||||
* Generates the array map of format variables to values.
|
* Generates the array map of format variables to values.
|
||||||
*
|
*
|
||||||
* @param Boolean $finish Forces the end result
|
* @param bool $finish Forces the end result
|
||||||
*
|
*
|
||||||
* @return array Array of format vars and values
|
* @return array Array of format vars and values
|
||||||
*/
|
*/
|
||||||
@ -401,7 +401,7 @@ class ProgressHelper extends Helper
|
|||||||
/**
|
/**
|
||||||
* Converts seconds into human-readable format.
|
* Converts seconds into human-readable format.
|
||||||
*
|
*
|
||||||
* @param integer $secs Number of seconds
|
* @param int $secs Number of seconds
|
||||||
*
|
*
|
||||||
* @return string Time in readable format
|
* @return string Time in readable format
|
||||||
*/
|
*/
|
||||||
|
@ -277,7 +277,7 @@ class TableHelper extends Helper
|
|||||||
/**
|
/**
|
||||||
* Sets cell padding type.
|
* Sets cell padding type.
|
||||||
*
|
*
|
||||||
* @param integer $padType STR_PAD_*
|
* @param int $padType STR_PAD_*
|
||||||
*
|
*
|
||||||
* @return TableHelper
|
* @return TableHelper
|
||||||
*/
|
*/
|
||||||
@ -376,7 +376,7 @@ class TableHelper extends Helper
|
|||||||
* Renders table cell with padding.
|
* Renders table cell with padding.
|
||||||
*
|
*
|
||||||
* @param array $row
|
* @param array $row
|
||||||
* @param integer $column
|
* @param int $column
|
||||||
* @param string $cellFormat
|
* @param string $cellFormat
|
||||||
*/
|
*/
|
||||||
private function renderCell(array $row, $column, $cellFormat)
|
private function renderCell(array $row, $column, $cellFormat)
|
||||||
@ -425,7 +425,7 @@ class TableHelper extends Helper
|
|||||||
/**
|
/**
|
||||||
* Gets column width.
|
* Gets column width.
|
||||||
*
|
*
|
||||||
* @param integer $column
|
* @param int $column
|
||||||
*
|
*
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
@ -448,7 +448,7 @@ class TableHelper extends Helper
|
|||||||
* Gets cell width.
|
* Gets cell width.
|
||||||
*
|
*
|
||||||
* @param array $row
|
* @param array $row
|
||||||
* @param integer $column
|
* @param int $column
|
||||||
*
|
*
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
|
@ -90,7 +90,7 @@ abstract class Input implements InputInterface
|
|||||||
/**
|
/**
|
||||||
* Sets the input interactivity.
|
* Sets the input interactivity.
|
||||||
*
|
*
|
||||||
* @param Boolean $interactive If the input should be interactive
|
* @param bool $interactive If the input should be interactive
|
||||||
*/
|
*/
|
||||||
public function setInteractive($interactive)
|
public function setInteractive($interactive)
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ class InputArgument
|
|||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param string $name The argument name
|
* @param string $name The argument name
|
||||||
* @param integer $mode The argument mode: self::REQUIRED or self::OPTIONAL
|
* @param int $mode The argument mode: self::REQUIRED or self::OPTIONAL
|
||||||
* @param string $description A description text
|
* @param string $description A description text
|
||||||
* @param mixed $default The default value (for self::OPTIONAL mode only)
|
* @param mixed $default The default value (for self::OPTIONAL mode only)
|
||||||
*
|
*
|
||||||
|
@ -433,7 +433,7 @@ class InputDefinition
|
|||||||
/**
|
/**
|
||||||
* Returns an XML representation of the InputDefinition.
|
* Returns an XML representation of the InputDefinition.
|
||||||
*
|
*
|
||||||
* @param Boolean $asDom Whether to return a DOM or an XML string
|
* @param bool $asDom Whether to return a DOM or an XML string
|
||||||
*
|
*
|
||||||
* @return string|\DOMDocument An XML string representing the InputDefinition
|
* @return string|\DOMDocument An XML string representing the InputDefinition
|
||||||
*
|
*
|
||||||
|
@ -146,7 +146,7 @@ interface InputInterface
|
|||||||
/**
|
/**
|
||||||
* Sets the input interactivity.
|
* Sets the input interactivity.
|
||||||
*
|
*
|
||||||
* @param Boolean $interactive If the input should be interactive
|
* @param bool $interactive If the input should be interactive
|
||||||
*/
|
*/
|
||||||
public function setInteractive($interactive);
|
public function setInteractive($interactive);
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ class InputOption
|
|||||||
*
|
*
|
||||||
* @param string $name The option name
|
* @param string $name The option name
|
||||||
* @param string|array $shortcut The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts
|
* @param string|array $shortcut The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts
|
||||||
* @param integer $mode The option mode: One of the VALUE_* constants
|
* @param int $mode The option mode: One of the VALUE_* constants
|
||||||
* @param string $description A description text
|
* @param string $description A description text
|
||||||
* @param mixed $default The default value (must be null for self::VALUE_REQUIRED or self::VALUE_NONE)
|
* @param mixed $default The default value (must be null for self::VALUE_REQUIRED or self::VALUE_NONE)
|
||||||
*
|
*
|
||||||
|
@ -35,8 +35,8 @@ class ConsoleOutput extends StreamOutput implements ConsoleOutputInterface
|
|||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param integer $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
|
* @param int $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
|
||||||
* @param Boolean|null $decorated Whether to decorate messages (null for auto-guessing)
|
* @param bool|null $decorated Whether to decorate messages (null for auto-guessing)
|
||||||
* @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
|
* @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
|
@ -37,8 +37,8 @@ abstract class Output implements OutputInterface
|
|||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param integer $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
|
* @param int $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
|
||||||
* @param Boolean $decorated Whether to decorate messages
|
* @param bool $decorated Whether to decorate messages
|
||||||
* @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
|
* @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
@ -139,7 +139,7 @@ abstract class Output implements OutputInterface
|
|||||||
* Writes a message to the output.
|
* Writes a message to the output.
|
||||||
*
|
*
|
||||||
* @param string $message A message to write to the output
|
* @param string $message A message to write to the output
|
||||||
* @param Boolean $newline Whether to add a newline or not
|
* @param bool $newline Whether to add a newline or not
|
||||||
*/
|
*/
|
||||||
abstract protected function doWrite($message, $newline);
|
abstract protected function doWrite($message, $newline);
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,8 @@ interface OutputInterface
|
|||||||
* Writes a message to the output.
|
* Writes a message to the output.
|
||||||
*
|
*
|
||||||
* @param string|array $messages The message as an array of lines or a single string
|
* @param string|array $messages The message as an array of lines or a single string
|
||||||
* @param Boolean $newline Whether to add a newline
|
* @param bool $newline Whether to add a newline
|
||||||
* @param integer $type The type of output (one of the OUTPUT constants)
|
* @param int $type The type of output (one of the OUTPUT constants)
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException When unknown output type is given
|
* @throws \InvalidArgumentException When unknown output type is given
|
||||||
*
|
*
|
||||||
@ -49,7 +49,7 @@ interface OutputInterface
|
|||||||
* Writes a message to the output and adds a newline at the end.
|
* Writes a message to the output and adds a newline at the end.
|
||||||
*
|
*
|
||||||
* @param string|array $messages The message as an array of lines of a single string
|
* @param string|array $messages The message as an array of lines of a single string
|
||||||
* @param integer $type The type of output (one of the OUTPUT constants)
|
* @param int $type The type of output (one of the OUTPUT constants)
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException When unknown output type is given
|
* @throws \InvalidArgumentException When unknown output type is given
|
||||||
*
|
*
|
||||||
@ -60,7 +60,7 @@ interface OutputInterface
|
|||||||
/**
|
/**
|
||||||
* Sets the verbosity of the output.
|
* Sets the verbosity of the output.
|
||||||
*
|
*
|
||||||
* @param integer $level The level of verbosity (one of the VERBOSITY constants)
|
* @param int $level The level of verbosity (one of the VERBOSITY constants)
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
@ -78,7 +78,7 @@ interface OutputInterface
|
|||||||
/**
|
/**
|
||||||
* Sets the decorated flag.
|
* Sets the decorated flag.
|
||||||
*
|
*
|
||||||
* @param Boolean $decorated Whether to decorate the messages
|
* @param bool $decorated Whether to decorate the messages
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
@ -36,8 +36,8 @@ class StreamOutput extends Output
|
|||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param mixed $stream A stream resource
|
* @param mixed $stream A stream resource
|
||||||
* @param integer $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
|
* @param int $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
|
||||||
* @param Boolean|null $decorated Whether to decorate messages (null for auto-guessing)
|
* @param bool|null $decorated Whether to decorate messages (null for auto-guessing)
|
||||||
* @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
|
* @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException When first argument is not a real stream
|
* @throws \InvalidArgumentException When first argument is not a real stream
|
||||||
|
@ -78,7 +78,7 @@ class ApplicationTester
|
|||||||
/**
|
/**
|
||||||
* Gets the display returned by the last execution of the application.
|
* Gets the display returned by the last execution of the application.
|
||||||
*
|
*
|
||||||
* @param Boolean $normalize Whether to normalize end of lines to \n or not
|
* @param bool $normalize Whether to normalize end of lines to \n or not
|
||||||
*
|
*
|
||||||
* @return string The display
|
* @return string The display
|
||||||
*/
|
*/
|
||||||
|
@ -73,7 +73,7 @@ class CommandTester
|
|||||||
/**
|
/**
|
||||||
* Gets the display returned by the last execution of the command.
|
* Gets the display returned by the last execution of the command.
|
||||||
*
|
*
|
||||||
* @param Boolean $normalize Whether to normalize end of lines to \n or not
|
* @param bool $normalize Whether to normalize end of lines to \n or not
|
||||||
*
|
*
|
||||||
* @return string The display
|
* @return string The display
|
||||||
*/
|
*/
|
||||||
|
@ -169,7 +169,7 @@ class Parser implements ParserInterface
|
|||||||
* Parses next simple node (hash, class, pseudo, negation).
|
* Parses next simple node (hash, class, pseudo, negation).
|
||||||
*
|
*
|
||||||
* @param TokenStream $stream
|
* @param TokenStream $stream
|
||||||
* @param boolean $insideNegation
|
* @param bool $insideNegation
|
||||||
*
|
*
|
||||||
* @throws SyntaxErrorException
|
* @throws SyntaxErrorException
|
||||||
*
|
*
|
||||||
|
@ -46,8 +46,8 @@ class FunctionExtension extends AbstractExtension
|
|||||||
/**
|
/**
|
||||||
* @param XPathExpr $xpath
|
* @param XPathExpr $xpath
|
||||||
* @param FunctionNode $function
|
* @param FunctionNode $function
|
||||||
* @param boolean $last
|
* @param bool $last
|
||||||
* @param boolean $addNameTest
|
* @param bool $addNameTest
|
||||||
*
|
*
|
||||||
* @return XPathExpr
|
* @return XPathExpr
|
||||||
*
|
*
|
||||||
|
@ -53,7 +53,7 @@ class NodeExtension extends AbstractExtension
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $flag
|
* @param int $flag
|
||||||
* @param boolean $on
|
* @param bool $on
|
||||||
*
|
*
|
||||||
* @return NodeExtension
|
* @return NodeExtension
|
||||||
*/
|
*/
|
||||||
|
@ -40,7 +40,7 @@ class XPathExpr
|
|||||||
* @param string $path
|
* @param string $path
|
||||||
* @param string $element
|
* @param string $element
|
||||||
* @param string $condition
|
* @param string $condition
|
||||||
* @param boolean $starPrefix
|
* @param bool $starPrefix
|
||||||
*/
|
*/
|
||||||
public function __construct($path = '', $element = '*', $condition = '', $starPrefix = false)
|
public function __construct($path = '', $element = '*', $condition = '', $starPrefix = false)
|
||||||
{
|
{
|
||||||
|
@ -30,8 +30,8 @@ class Debug
|
|||||||
* If the Symfony ClassLoader component is available, a special
|
* If the Symfony ClassLoader component is available, a special
|
||||||
* class loader is also registered.
|
* class loader is also registered.
|
||||||
*
|
*
|
||||||
* @param integer $errorReportingLevel The level of error reporting you want
|
* @param int $errorReportingLevel The level of error reporting you want
|
||||||
* @param Boolean $displayErrors Whether to display errors (for development) or just log them (for production)
|
* @param bool $displayErrors Whether to display errors (for development) or just log them (for production)
|
||||||
*/
|
*/
|
||||||
public static function enable($errorReportingLevel = null, $displayErrors = true)
|
public static function enable($errorReportingLevel = null, $displayErrors = true)
|
||||||
{
|
{
|
||||||
|
@ -56,8 +56,8 @@ class ErrorHandler
|
|||||||
/**
|
/**
|
||||||
* Registers the error handler.
|
* Registers the error handler.
|
||||||
*
|
*
|
||||||
* @param integer $level The level at which the conversion to Exception is done (null to use the error_reporting() value and 0 to disable)
|
* @param int $level The level at which the conversion to Exception is done (null to use the error_reporting() value and 0 to disable)
|
||||||
* @param Boolean $displayErrors Display errors (for dev environment) or just log they (production usage)
|
* @param bool $displayErrors Display errors (for dev environment) or just log they (production usage)
|
||||||
*
|
*
|
||||||
* @return ErrorHandler The registered error handler
|
* @return ErrorHandler The registered error handler
|
||||||
*/
|
*/
|
||||||
|
@ -43,7 +43,7 @@ class ExceptionHandler
|
|||||||
/**
|
/**
|
||||||
* Registers the exception handler.
|
* Registers the exception handler.
|
||||||
*
|
*
|
||||||
* @param Boolean $debug
|
* @param bool $debug
|
||||||
*
|
*
|
||||||
* @return ExceptionHandler The registered exception handler
|
* @return ExceptionHandler The registered exception handler
|
||||||
*/
|
*/
|
||||||
|
@ -23,7 +23,7 @@ class Alias
|
|||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param string $id Alias identifier
|
* @param string $id Alias identifier
|
||||||
* @param Boolean $public If this alias is public
|
* @param bool $public If this alias is public
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
@ -48,7 +48,7 @@ class Alias
|
|||||||
/**
|
/**
|
||||||
* Sets if this Alias is public.
|
* Sets if this Alias is public.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean If this Alias should be public
|
* @param bool $boolean If this Alias should be public
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
@ -36,7 +36,7 @@ class AnalyzeServiceReferencesPass implements RepeatablePassInterface
|
|||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param Boolean $onlyConstructorArguments Sets this Service Reference pass to ignore method calls
|
* @param bool $onlyConstructorArguments Sets this Service Reference pass to ignore method calls
|
||||||
*/
|
*/
|
||||||
public function __construct($onlyConstructorArguments = false)
|
public function __construct($onlyConstructorArguments = false)
|
||||||
{
|
{
|
||||||
|
@ -70,7 +70,7 @@ class ResolveInvalidReferencesPass implements CompilerPassInterface
|
|||||||
* Processes arguments to determine invalid references.
|
* Processes arguments to determine invalid references.
|
||||||
*
|
*
|
||||||
* @param array $arguments An array of Reference objects
|
* @param array $arguments An array of Reference objects
|
||||||
* @param Boolean $inMethodCall
|
* @param bool $inMethodCall
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*
|
*
|
||||||
|
@ -254,7 +254,7 @@ class Container implements IntrospectableContainerInterface
|
|||||||
* with a get{$id}Service() method, the former has always precedence.
|
* with a get{$id}Service() method, the former has always precedence.
|
||||||
*
|
*
|
||||||
* @param string $id The service identifier
|
* @param string $id The service identifier
|
||||||
* @param integer $invalidBehavior The behavior when the service does not exist
|
* @param int $invalidBehavior The behavior when the service does not exist
|
||||||
*
|
*
|
||||||
* @return object The associated service
|
* @return object The associated service
|
||||||
*
|
*
|
||||||
|
@ -84,7 +84,7 @@ class ContainerBuilder extends Container implements TaggedContainerInterface
|
|||||||
* If you are not using the loaders and therefore don't want
|
* If you are not using the loaders and therefore don't want
|
||||||
* to depend on the Config component, set this flag to false.
|
* to depend on the Config component, set this flag to false.
|
||||||
*
|
*
|
||||||
* @param Boolean $track true if you want to track resources, false otherwise
|
* @param bool $track true if you want to track resources, false otherwise
|
||||||
*/
|
*/
|
||||||
public function setResourceTracking($track)
|
public function setResourceTracking($track)
|
||||||
{
|
{
|
||||||
@ -445,7 +445,7 @@ class ContainerBuilder extends Container implements TaggedContainerInterface
|
|||||||
* Gets a service.
|
* Gets a service.
|
||||||
*
|
*
|
||||||
* @param string $id The service identifier
|
* @param string $id The service identifier
|
||||||
* @param integer $invalidBehavior The behavior when the service does not exist
|
* @param int $invalidBehavior The behavior when the service does not exist
|
||||||
*
|
*
|
||||||
* @return object The associated service
|
* @return object The associated service
|
||||||
*
|
*
|
||||||
@ -901,7 +901,7 @@ class ContainerBuilder extends Container implements TaggedContainerInterface
|
|||||||
*
|
*
|
||||||
* @param Definition $definition A service definition instance
|
* @param Definition $definition A service definition instance
|
||||||
* @param string $id The service identifier
|
* @param string $id The service identifier
|
||||||
* @param Boolean $tryProxy Whether to try proxying the service with a lazy proxy
|
* @param bool $tryProxy Whether to try proxying the service with a lazy proxy
|
||||||
*
|
*
|
||||||
* @return object The service described by the service definition
|
* @return object The service described by the service definition
|
||||||
*
|
*
|
||||||
|
@ -240,7 +240,7 @@ class Definition
|
|||||||
/**
|
/**
|
||||||
* Sets a specific argument
|
* Sets a specific argument
|
||||||
*
|
*
|
||||||
* @param integer $index
|
* @param int $index
|
||||||
* @param mixed $argument
|
* @param mixed $argument
|
||||||
*
|
*
|
||||||
* @return Definition The current instance
|
* @return Definition The current instance
|
||||||
@ -275,7 +275,7 @@ class Definition
|
|||||||
/**
|
/**
|
||||||
* Gets an argument to pass to the service constructor/factory method.
|
* Gets an argument to pass to the service constructor/factory method.
|
||||||
*
|
*
|
||||||
* @param integer $index
|
* @param int $index
|
||||||
*
|
*
|
||||||
* @return mixed The argument value
|
* @return mixed The argument value
|
||||||
*
|
*
|
||||||
@ -548,7 +548,7 @@ class Definition
|
|||||||
/**
|
/**
|
||||||
* Sets the visibility of this service.
|
* Sets the visibility of this service.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean
|
* @param bool $boolean
|
||||||
*
|
*
|
||||||
* @return Definition The current instance
|
* @return Definition The current instance
|
||||||
*
|
*
|
||||||
@ -576,7 +576,7 @@ class Definition
|
|||||||
/**
|
/**
|
||||||
* Sets the synchronized flag of this service.
|
* Sets the synchronized flag of this service.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean
|
* @param bool $boolean
|
||||||
*
|
*
|
||||||
* @return Definition The current instance
|
* @return Definition The current instance
|
||||||
*
|
*
|
||||||
@ -604,7 +604,7 @@ class Definition
|
|||||||
/**
|
/**
|
||||||
* Sets the lazy flag of this service.
|
* Sets the lazy flag of this service.
|
||||||
*
|
*
|
||||||
* @param Boolean $lazy
|
* @param bool $lazy
|
||||||
*
|
*
|
||||||
* @return Definition The current instance
|
* @return Definition The current instance
|
||||||
*/
|
*/
|
||||||
@ -629,7 +629,7 @@ class Definition
|
|||||||
* Sets whether this definition is synthetic, that is not constructed by the
|
* Sets whether this definition is synthetic, that is not constructed by the
|
||||||
* container, but dynamically injected.
|
* container, but dynamically injected.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean
|
* @param bool $boolean
|
||||||
*
|
*
|
||||||
* @return Definition the current instance
|
* @return Definition the current instance
|
||||||
*
|
*
|
||||||
@ -659,7 +659,7 @@ class Definition
|
|||||||
* Whether this definition is abstract, that means it merely serves as a
|
* Whether this definition is abstract, that means it merely serves as a
|
||||||
* template for other definitions.
|
* template for other definitions.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean
|
* @param bool $boolean
|
||||||
*
|
*
|
||||||
* @return Definition the current instance
|
* @return Definition the current instance
|
||||||
*
|
*
|
||||||
|
@ -167,7 +167,7 @@ class DefinitionDecorator extends Definition
|
|||||||
* If replaceArgument() has been used to replace an argument, this method
|
* If replaceArgument() has been used to replace an argument, this method
|
||||||
* will return the replacement value.
|
* will return the replacement value.
|
||||||
*
|
*
|
||||||
* @param integer $index
|
* @param int $index
|
||||||
*
|
*
|
||||||
* @return mixed The argument value
|
* @return mixed The argument value
|
||||||
*
|
*
|
||||||
@ -198,7 +198,7 @@ class DefinitionDecorator extends Definition
|
|||||||
* certain conventions when you want to overwrite the arguments of the
|
* certain conventions when you want to overwrite the arguments of the
|
||||||
* parent definition, otherwise your arguments will only be appended.
|
* parent definition, otherwise your arguments will only be appended.
|
||||||
*
|
*
|
||||||
* @param integer $index
|
* @param int $index
|
||||||
* @param mixed $value
|
* @param mixed $value
|
||||||
*
|
*
|
||||||
* @return DefinitionDecorator the current instance
|
* @return DefinitionDecorator the current instance
|
||||||
|
@ -123,7 +123,7 @@ class GraphvizDumper extends Dumper
|
|||||||
*
|
*
|
||||||
* @param string $id The service id used to find edges
|
* @param string $id The service id used to find edges
|
||||||
* @param array $arguments An array of arguments
|
* @param array $arguments An array of arguments
|
||||||
* @param Boolean $required
|
* @param bool $required
|
||||||
* @param string $name
|
* @param string $name
|
||||||
*
|
*
|
||||||
* @return array An array of edges
|
* @return array An array of edges
|
||||||
|
@ -544,7 +544,7 @@ EOF;
|
|||||||
|
|
||||||
if ($definition->isLazy()) {
|
if ($definition->isLazy()) {
|
||||||
$lazyInitialization = '$lazyLoad = true';
|
$lazyInitialization = '$lazyLoad = true';
|
||||||
$lazyInitializationDoc = "\n * @param boolean \$lazyLoad whether to try lazy-loading the service with a proxy\n *";
|
$lazyInitializationDoc = "\n * @param bool \$lazyLoad whether to try lazy-loading the service with a proxy\n *";
|
||||||
} else {
|
} else {
|
||||||
$lazyInitialization = '';
|
$lazyInitialization = '';
|
||||||
$lazyInitializationDoc = '';
|
$lazyInitializationDoc = '';
|
||||||
@ -955,7 +955,7 @@ EOF;
|
|||||||
*
|
*
|
||||||
* @param array $parameters
|
* @param array $parameters
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @param integer $indent
|
* @param int $indent
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*
|
*
|
||||||
@ -1104,7 +1104,7 @@ EOF;
|
|||||||
*
|
*
|
||||||
* @param string $id
|
* @param string $id
|
||||||
* @param array $arguments
|
* @param array $arguments
|
||||||
* @param Boolean $deep
|
* @param bool $deep
|
||||||
* @param array $visited
|
* @param array $visited
|
||||||
*
|
*
|
||||||
* @return Boolean
|
* @return Boolean
|
||||||
@ -1141,7 +1141,7 @@ EOF;
|
|||||||
* Dumps values.
|
* Dumps values.
|
||||||
*
|
*
|
||||||
* @param array $value
|
* @param array $value
|
||||||
* @param Boolean $interpolate
|
* @param bool $interpolate
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*
|
*
|
||||||
|
@ -275,7 +275,7 @@ class YamlDumper extends Dumper
|
|||||||
* Prepares parameters.
|
* Prepares parameters.
|
||||||
*
|
*
|
||||||
* @param array $parameters
|
* @param array $parameters
|
||||||
* @param Boolean $escape
|
* @param bool $escape
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
@ -29,7 +29,7 @@ class Reference
|
|||||||
*
|
*
|
||||||
* @param string $id The service identifier
|
* @param string $id The service identifier
|
||||||
* @param int $invalidBehavior The behavior when the service does not exist
|
* @param int $invalidBehavior The behavior when the service does not exist
|
||||||
* @param Boolean $strict Sets how this reference is validated
|
* @param bool $strict Sets how this reference is validated
|
||||||
*
|
*
|
||||||
* @see Container
|
* @see Container
|
||||||
*/
|
*/
|
||||||
|
@ -36,7 +36,7 @@ class SimpleXMLElement extends \SimpleXMLElement
|
|||||||
* Returns arguments as valid PHP types.
|
* Returns arguments as valid PHP types.
|
||||||
*
|
*
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @param Boolean $lowercase
|
* @param bool $lowercase
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
|
@ -280,7 +280,7 @@ class Crawler extends \SplObjectStorage
|
|||||||
/**
|
/**
|
||||||
* Returns a node given its position in the node list.
|
* Returns a node given its position in the node list.
|
||||||
*
|
*
|
||||||
* @param integer $position The position
|
* @param int $position The position
|
||||||
*
|
*
|
||||||
* @return Crawler A new instance of the Crawler with the selected node, or an empty Crawler if it does not exist.
|
* @return Crawler A new instance of the Crawler with the selected node, or an empty Crawler if it does not exist.
|
||||||
*
|
*
|
||||||
@ -772,7 +772,7 @@ class Crawler extends \SplObjectStorage
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param integer $position
|
* @param int $position
|
||||||
*
|
*
|
||||||
* @return \DOMElement|null
|
* @return \DOMElement|null
|
||||||
*/
|
*/
|
||||||
|
@ -23,7 +23,7 @@ class FileFormField extends FormField
|
|||||||
/**
|
/**
|
||||||
* Sets the PHP error code associated with the field.
|
* Sets the PHP error code associated with the field.
|
||||||
*
|
*
|
||||||
* @param integer $error The error code (one of UPLOAD_ERR_INI_SIZE, UPLOAD_ERR_FORM_SIZE, UPLOAD_ERR_PARTIAL, UPLOAD_ERR_NO_FILE, UPLOAD_ERR_NO_TMP_DIR, UPLOAD_ERR_CANT_WRITE, or UPLOAD_ERR_EXTENSION)
|
* @param int $error The error code (one of UPLOAD_ERR_INI_SIZE, UPLOAD_ERR_FORM_SIZE, UPLOAD_ERR_PARTIAL, UPLOAD_ERR_NO_FILE, UPLOAD_ERR_NO_TMP_DIR, UPLOAD_ERR_CANT_WRITE, or UPLOAD_ERR_EXTENSION)
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException When error code doesn't exist
|
* @throws \InvalidArgumentException When error code doesn't exist
|
||||||
*/
|
*/
|
||||||
|
@ -57,7 +57,7 @@ class ContainerAwareEventDispatcher extends EventDispatcher
|
|||||||
* @param string $eventName Event for which the listener is added
|
* @param string $eventName Event for which the listener is added
|
||||||
* @param array $callback The service ID of the listener service & the method
|
* @param array $callback The service ID of the listener service & the method
|
||||||
* name that has to be called
|
* name that has to be called
|
||||||
* @param integer $priority The higher this value, the earlier an event listener
|
* @param int $priority The higher this value, the earlier an event listener
|
||||||
* will be triggered in the chain.
|
* will be triggered in the chain.
|
||||||
* Defaults to 0.
|
* Defaults to 0.
|
||||||
*
|
*
|
||||||
|
@ -42,7 +42,7 @@ interface EventDispatcherInterface
|
|||||||
*
|
*
|
||||||
* @param string $eventName The event to listen on
|
* @param string $eventName The event to listen on
|
||||||
* @param callable $listener The listener
|
* @param callable $listener The listener
|
||||||
* @param integer $priority The higher this value, the earlier an event
|
* @param int $priority The higher this value, the earlier an event
|
||||||
* listener will be triggered in the chain (defaults to 0)
|
* listener will be triggered in the chain (defaults to 0)
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
|
@ -29,7 +29,7 @@ class Filesystem
|
|||||||
*
|
*
|
||||||
* @param string $originFile The original filename
|
* @param string $originFile The original filename
|
||||||
* @param string $targetFile The target filename
|
* @param string $targetFile The target filename
|
||||||
* @param boolean $override Whether to override an existing file or not
|
* @param bool $override Whether to override an existing file or not
|
||||||
*
|
*
|
||||||
* @throws IOException When copy fails
|
* @throws IOException When copy fails
|
||||||
*/
|
*/
|
||||||
@ -66,7 +66,7 @@ class Filesystem
|
|||||||
* Creates a directory recursively.
|
* Creates a directory recursively.
|
||||||
*
|
*
|
||||||
* @param string|array|\Traversable $dirs The directory path
|
* @param string|array|\Traversable $dirs The directory path
|
||||||
* @param integer $mode The directory mode
|
* @param int $mode The directory mode
|
||||||
*
|
*
|
||||||
* @throws IOException On any directory creation failure
|
* @throws IOException On any directory creation failure
|
||||||
*/
|
*/
|
||||||
@ -105,8 +105,8 @@ class Filesystem
|
|||||||
* Sets access and modification time of file.
|
* Sets access and modification time of file.
|
||||||
*
|
*
|
||||||
* @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to create
|
* @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to create
|
||||||
* @param integer $time The touch time as a Unix timestamp
|
* @param int $time The touch time as a Unix timestamp
|
||||||
* @param integer $atime The access time as a Unix timestamp
|
* @param int $atime The access time as a Unix timestamp
|
||||||
*
|
*
|
||||||
* @throws IOException When touch fails
|
* @throws IOException When touch fails
|
||||||
*/
|
*/
|
||||||
@ -161,9 +161,9 @@ class Filesystem
|
|||||||
* Change mode for an array of files or directories.
|
* Change mode for an array of files or directories.
|
||||||
*
|
*
|
||||||
* @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to change mode
|
* @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to change mode
|
||||||
* @param integer $mode The new mode (octal)
|
* @param int $mode The new mode (octal)
|
||||||
* @param integer $umask The mode mask (octal)
|
* @param int $umask The mode mask (octal)
|
||||||
* @param Boolean $recursive Whether change the mod recursively or not
|
* @param bool $recursive Whether change the mod recursively or not
|
||||||
*
|
*
|
||||||
* @throws IOException When the change fail
|
* @throws IOException When the change fail
|
||||||
*/
|
*/
|
||||||
@ -184,7 +184,7 @@ class Filesystem
|
|||||||
*
|
*
|
||||||
* @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to change owner
|
* @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to change owner
|
||||||
* @param string $user The new owner user name
|
* @param string $user The new owner user name
|
||||||
* @param Boolean $recursive Whether change the owner recursively or not
|
* @param bool $recursive Whether change the owner recursively or not
|
||||||
*
|
*
|
||||||
* @throws IOException When the change fail
|
* @throws IOException When the change fail
|
||||||
*/
|
*/
|
||||||
@ -211,7 +211,7 @@ class Filesystem
|
|||||||
*
|
*
|
||||||
* @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to change group
|
* @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to change group
|
||||||
* @param string $group The group name
|
* @param string $group The group name
|
||||||
* @param Boolean $recursive Whether change the group recursively or not
|
* @param bool $recursive Whether change the group recursively or not
|
||||||
*
|
*
|
||||||
* @throws IOException When the change fail
|
* @throws IOException When the change fail
|
||||||
*/
|
*/
|
||||||
@ -238,7 +238,7 @@ class Filesystem
|
|||||||
*
|
*
|
||||||
* @param string $origin The origin filename or directory
|
* @param string $origin The origin filename or directory
|
||||||
* @param string $target The new filename or directory
|
* @param string $target The new filename or directory
|
||||||
* @param Boolean $overwrite Whether to overwrite the target if it already exists
|
* @param bool $overwrite Whether to overwrite the target if it already exists
|
||||||
*
|
*
|
||||||
* @throws IOException When target file or directory already exists
|
* @throws IOException When target file or directory already exists
|
||||||
* @throws IOException When origin cannot be renamed
|
* @throws IOException When origin cannot be renamed
|
||||||
@ -260,7 +260,7 @@ class Filesystem
|
|||||||
*
|
*
|
||||||
* @param string $originDir The origin directory path
|
* @param string $originDir The origin directory path
|
||||||
* @param string $targetDir The symbolic link name
|
* @param string $targetDir The symbolic link name
|
||||||
* @param Boolean $copyOnWindows Whether to copy files if on Windows
|
* @param bool $copyOnWindows Whether to copy files if on Windows
|
||||||
*
|
*
|
||||||
* @throws IOException When symlink fails
|
* @throws IOException When symlink fails
|
||||||
*/
|
*/
|
||||||
|
@ -148,7 +148,7 @@ abstract class AbstractFindAdapter extends AbstractAdapter
|
|||||||
/**
|
/**
|
||||||
* @param Command $command
|
* @param Command $command
|
||||||
* @param string[] $names
|
* @param string[] $names
|
||||||
* @param Boolean $not
|
* @param bool $not
|
||||||
*/
|
*/
|
||||||
private function buildNamesFiltering(Command $command, array $names, $not = false)
|
private function buildNamesFiltering(Command $command, array $names, $not = false)
|
||||||
{
|
{
|
||||||
@ -196,7 +196,7 @@ abstract class AbstractFindAdapter extends AbstractAdapter
|
|||||||
* @param Command $command
|
* @param Command $command
|
||||||
* @param string $dir
|
* @param string $dir
|
||||||
* @param string[] $paths
|
* @param string[] $paths
|
||||||
* @param Boolean $not
|
* @param bool $not
|
||||||
*/
|
*/
|
||||||
private function buildPathsFiltering(Command $command, $dir, array $paths, $not = false)
|
private function buildPathsFiltering(Command $command, $dir, array $paths, $not = false)
|
||||||
{
|
{
|
||||||
@ -321,7 +321,7 @@ abstract class AbstractFindAdapter extends AbstractAdapter
|
|||||||
/**
|
/**
|
||||||
* @param Command $command
|
* @param Command $command
|
||||||
* @param array $contains
|
* @param array $contains
|
||||||
* @param Boolean $not
|
* @param bool $not
|
||||||
*/
|
*/
|
||||||
abstract protected function buildContentFiltering(Command $command, array $contains, $not = false);
|
abstract protected function buildContentFiltering(Command $command, array $contains, $not = false);
|
||||||
}
|
}
|
||||||
|
@ -17,14 +17,14 @@ namespace Symfony\Component\Finder\Adapter;
|
|||||||
interface AdapterInterface
|
interface AdapterInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @param Boolean $followLinks
|
* @param bool $followLinks
|
||||||
*
|
*
|
||||||
* @return AdapterInterface Current instance
|
* @return AdapterInterface Current instance
|
||||||
*/
|
*/
|
||||||
public function setFollowLinks($followLinks);
|
public function setFollowLinks($followLinks);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param integer $mode
|
* @param int $mode
|
||||||
*
|
*
|
||||||
* @return AdapterInterface Current instance
|
* @return AdapterInterface Current instance
|
||||||
*/
|
*/
|
||||||
@ -115,7 +115,7 @@ interface AdapterInterface
|
|||||||
public function setNotPath(array $notPaths);
|
public function setNotPath(array $notPaths);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param boolean $ignore
|
* @param bool $ignore
|
||||||
*
|
*
|
||||||
* @return AdapterInterface Current instance
|
* @return AdapterInterface Current instance
|
||||||
*/
|
*/
|
||||||
|
@ -90,7 +90,7 @@ class Finder implements \IteratorAggregate, \Countable
|
|||||||
* Registers a finder engine implementation.
|
* Registers a finder engine implementation.
|
||||||
*
|
*
|
||||||
* @param AdapterInterface $adapter An adapter instance
|
* @param AdapterInterface $adapter An adapter instance
|
||||||
* @param integer $priority Highest is selected first
|
* @param int $priority Highest is selected first
|
||||||
*
|
*
|
||||||
* @return Finder The current Finder instance
|
* @return Finder The current Finder instance
|
||||||
*/
|
*/
|
||||||
@ -415,7 +415,7 @@ class Finder implements \IteratorAggregate, \Countable
|
|||||||
/**
|
/**
|
||||||
* Excludes "hidden" directories and files (starting with a dot).
|
* Excludes "hidden" directories and files (starting with a dot).
|
||||||
*
|
*
|
||||||
* @param Boolean $ignoreDotFiles Whether to exclude "hidden" files or not
|
* @param bool $ignoreDotFiles Whether to exclude "hidden" files or not
|
||||||
*
|
*
|
||||||
* @return Finder The current Finder instance
|
* @return Finder The current Finder instance
|
||||||
*
|
*
|
||||||
@ -437,7 +437,7 @@ class Finder implements \IteratorAggregate, \Countable
|
|||||||
/**
|
/**
|
||||||
* Forces the finder to ignore version control directories.
|
* Forces the finder to ignore version control directories.
|
||||||
*
|
*
|
||||||
* @param Boolean $ignoreVCS Whether to exclude VCS files or not
|
* @param bool $ignoreVCS Whether to exclude VCS files or not
|
||||||
*
|
*
|
||||||
* @return Finder The current Finder instance
|
* @return Finder The current Finder instance
|
||||||
*
|
*
|
||||||
@ -632,7 +632,7 @@ class Finder implements \IteratorAggregate, \Countable
|
|||||||
*
|
*
|
||||||
* By default, scanning unreadable directories content throws an AccessDeniedException.
|
* By default, scanning unreadable directories content throws an AccessDeniedException.
|
||||||
*
|
*
|
||||||
* @param boolean $ignore
|
* @param bool $ignore
|
||||||
*
|
*
|
||||||
* @return Finder The current Finder instance
|
* @return Finder The current Finder instance
|
||||||
*/
|
*/
|
||||||
|
@ -39,8 +39,8 @@ class Glob
|
|||||||
* Returns a regexp which is the equivalent of the glob pattern.
|
* Returns a regexp which is the equivalent of the glob pattern.
|
||||||
*
|
*
|
||||||
* @param string $glob The glob pattern
|
* @param string $glob The glob pattern
|
||||||
* @param Boolean $strictLeadingDot
|
* @param bool $strictLeadingDot
|
||||||
* @param Boolean $strictWildcardSlash
|
* @param bool $strictWildcardSlash
|
||||||
*
|
*
|
||||||
* @return string regex The regexp
|
* @return string regex The regexp
|
||||||
*/
|
*/
|
||||||
|
@ -27,7 +27,7 @@ class FileTypeFilterIterator extends FilterIterator
|
|||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param \Iterator $iterator The Iterator to filter
|
* @param \Iterator $iterator The Iterator to filter
|
||||||
* @param integer $mode The mode (self::ONLY_FILES or self::ONLY_DIRECTORIES)
|
* @param int $mode The mode (self::ONLY_FILES or self::ONLY_DIRECTORIES)
|
||||||
*/
|
*/
|
||||||
public function __construct(\Iterator $iterator, $mode)
|
public function __construct(\Iterator $iterator, $mode)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ class RecursiveDirectoryIterator extends \RecursiveDirectoryIterator
|
|||||||
*
|
*
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @param int $flags
|
* @param int $flags
|
||||||
* @param boolean $ignoreUnreadableDirs
|
* @param bool $ignoreUnreadableDirs
|
||||||
*
|
*
|
||||||
* @throws \RuntimeException
|
* @throws \RuntimeException
|
||||||
*/
|
*/
|
||||||
|
@ -31,7 +31,7 @@ class SortableIterator implements \IteratorAggregate
|
|||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param \Traversable $iterator The Iterator to filter
|
* @param \Traversable $iterator The Iterator to filter
|
||||||
* @param integer|callback $sort The sort type (SORT_BY_NAME, SORT_BY_TYPE, or a PHP callback)
|
* @param int |callback $sort The sort type (SORT_BY_NAME, SORT_BY_TYPE, or a PHP callback)
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException
|
* @throws \InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
|
@ -283,7 +283,7 @@ class Command
|
|||||||
* Insert a string or a Command instance before the bit at given position $index (index starts from 0).
|
* Insert a string or a Command instance before the bit at given position $index (index starts from 0).
|
||||||
*
|
*
|
||||||
* @param string|Command $bit
|
* @param string|Command $bit
|
||||||
* @param integer $index
|
* @param int $index
|
||||||
*
|
*
|
||||||
* @return Command The current Command instance
|
* @return Command The current Command instance
|
||||||
*/
|
*/
|
||||||
|
@ -19,8 +19,8 @@ class RecursiveDirectoryIteratorTest extends IteratorTestCase
|
|||||||
* @dataProvider getPaths
|
* @dataProvider getPaths
|
||||||
*
|
*
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @param Boolean $seekable
|
* @param bool $seekable
|
||||||
* @param Boolean $supports
|
* @param bool $supports
|
||||||
* @param string $message
|
* @param string $message
|
||||||
*/
|
*/
|
||||||
public function testRewind($path, $seekable, $contains, $message = null)
|
public function testRewind($path, $seekable, $contains, $message = null)
|
||||||
@ -40,8 +40,8 @@ class RecursiveDirectoryIteratorTest extends IteratorTestCase
|
|||||||
* @dataProvider getPaths
|
* @dataProvider getPaths
|
||||||
*
|
*
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @param Boolean $seekable
|
* @param bool $seekable
|
||||||
* @param Boolean $supports
|
* @param bool $supports
|
||||||
* @param string $message
|
* @param string $message
|
||||||
*/
|
*/
|
||||||
public function testSeek($path, $seekable, $contains, $message = null)
|
public function testSeek($path, $seekable, $contains, $message = null)
|
||||||
|
@ -146,7 +146,7 @@ abstract class AbstractRendererEngine implements FormRendererEngineInterface
|
|||||||
* themes.
|
* themes.
|
||||||
* @param array $blockNameHierarchy The block hierarchy, with the most
|
* @param array $blockNameHierarchy The block hierarchy, with the most
|
||||||
* specific block name at the end.
|
* specific block name at the end.
|
||||||
* @param integer $hierarchyLevel The level in the block hierarchy that
|
* @param int $hierarchyLevel The level in the block hierarchy that
|
||||||
* should be loaded.
|
* should be loaded.
|
||||||
*
|
*
|
||||||
* @return Boolean True if the resource could be loaded, false otherwise.
|
* @return Boolean True if the resource could be loaded, false otherwise.
|
||||||
|
@ -374,7 +374,7 @@ class Button implements \IteratorAggregate, FormInterface
|
|||||||
* Submits data to the button.
|
* Submits data to the button.
|
||||||
*
|
*
|
||||||
* @param null|string $submittedData The data.
|
* @param null|string $submittedData The data.
|
||||||
* @param Boolean $clearMissing Not used.
|
* @param bool $clearMissing Not used.
|
||||||
*
|
*
|
||||||
* @return Button The button instance
|
* @return Button The button instance
|
||||||
*
|
*
|
||||||
|
@ -169,7 +169,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
*
|
*
|
||||||
* @param string $eventName
|
* @param string $eventName
|
||||||
* @param callable $listener
|
* @param callable $listener
|
||||||
* @param integer $priority
|
* @param int $priority
|
||||||
*
|
*
|
||||||
* @throws BadMethodCallException
|
* @throws BadMethodCallException
|
||||||
*/
|
*/
|
||||||
@ -198,7 +198,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
* This method should not be invoked.
|
* This method should not be invoked.
|
||||||
*
|
*
|
||||||
* @param DataTransformerInterface $viewTransformer
|
* @param DataTransformerInterface $viewTransformer
|
||||||
* @param Boolean $forcePrepend
|
* @param bool $forcePrepend
|
||||||
*
|
*
|
||||||
* @throws BadMethodCallException
|
* @throws BadMethodCallException
|
||||||
*/
|
*/
|
||||||
@ -225,7 +225,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
* This method should not be invoked.
|
* This method should not be invoked.
|
||||||
*
|
*
|
||||||
* @param DataTransformerInterface $modelTransformer
|
* @param DataTransformerInterface $modelTransformer
|
||||||
* @param Boolean $forceAppend
|
* @param bool $forceAppend
|
||||||
*
|
*
|
||||||
* @throws BadMethodCallException
|
* @throws BadMethodCallException
|
||||||
*/
|
*/
|
||||||
@ -283,7 +283,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
/**
|
/**
|
||||||
* Set whether the button is disabled.
|
* Set whether the button is disabled.
|
||||||
*
|
*
|
||||||
* @param Boolean $disabled Whether the button is disabled
|
* @param bool $disabled Whether the button is disabled
|
||||||
*
|
*
|
||||||
* @return ButtonBuilder The button builder.
|
* @return ButtonBuilder The button builder.
|
||||||
*/
|
*/
|
||||||
@ -313,7 +313,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
*
|
*
|
||||||
* This method should not be invoked.
|
* This method should not be invoked.
|
||||||
*
|
*
|
||||||
* @param Boolean $errorBubbling
|
* @param bool $errorBubbling
|
||||||
*
|
*
|
||||||
* @throws BadMethodCallException
|
* @throws BadMethodCallException
|
||||||
*/
|
*/
|
||||||
@ -327,7 +327,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
*
|
*
|
||||||
* This method should not be invoked.
|
* This method should not be invoked.
|
||||||
*
|
*
|
||||||
* @param Boolean $required
|
* @param bool $required
|
||||||
*
|
*
|
||||||
* @throws BadMethodCallException
|
* @throws BadMethodCallException
|
||||||
*/
|
*/
|
||||||
@ -355,7 +355,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
*
|
*
|
||||||
* This method should not be invoked.
|
* This method should not be invoked.
|
||||||
*
|
*
|
||||||
* @param Boolean $mapped
|
* @param bool $mapped
|
||||||
*
|
*
|
||||||
* @throws BadMethodCallException
|
* @throws BadMethodCallException
|
||||||
*/
|
*/
|
||||||
@ -369,7 +369,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
*
|
*
|
||||||
* This method should not be invoked.
|
* This method should not be invoked.
|
||||||
*
|
*
|
||||||
* @param Boolean $byReference
|
* @param bool $byReference
|
||||||
*
|
*
|
||||||
* @throws BadMethodCallException
|
* @throws BadMethodCallException
|
||||||
*/
|
*/
|
||||||
@ -383,7 +383,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
*
|
*
|
||||||
* This method should not be invoked.
|
* This method should not be invoked.
|
||||||
*
|
*
|
||||||
* @param Boolean $virtual
|
* @param bool $virtual
|
||||||
*
|
*
|
||||||
* @throws BadMethodCallException
|
* @throws BadMethodCallException
|
||||||
*/
|
*/
|
||||||
@ -397,7 +397,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
*
|
*
|
||||||
* This method should not be invoked.
|
* This method should not be invoked.
|
||||||
*
|
*
|
||||||
* @param Boolean $compound
|
* @param bool $compound
|
||||||
*
|
*
|
||||||
* @throws BadMethodCallException
|
* @throws BadMethodCallException
|
||||||
*/
|
*/
|
||||||
@ -439,7 +439,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
*
|
*
|
||||||
* This method should not be invoked.
|
* This method should not be invoked.
|
||||||
*
|
*
|
||||||
* @param Boolean $locked
|
* @param bool $locked
|
||||||
*
|
*
|
||||||
* @throws BadMethodCallException
|
* @throws BadMethodCallException
|
||||||
*/
|
*/
|
||||||
@ -503,7 +503,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
/**
|
/**
|
||||||
* Unsupported method.
|
* Unsupported method.
|
||||||
*
|
*
|
||||||
* @param Boolean $initialize
|
* @param bool $initialize
|
||||||
*
|
*
|
||||||
* @throws BadMethodCallException
|
* @throws BadMethodCallException
|
||||||
*/
|
*/
|
||||||
@ -519,7 +519,7 @@ class ButtonBuilder implements \IteratorAggregate, FormBuilderInterface
|
|||||||
/**
|
/**
|
||||||
* Unsupported method.
|
* Unsupported method.
|
||||||
*
|
*
|
||||||
* @param Boolean $inheritData
|
* @param bool $inheritData
|
||||||
*
|
*
|
||||||
* @throws BadMethodCallException
|
* @throws BadMethodCallException
|
||||||
*/
|
*/
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user