fixed spelling typo
This commit is contained in:
parent
bc29f81e8e
commit
7c628a98d2
@ -144,7 +144,7 @@ class YamlDumper extends Dumper
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws \RuntimeException When trying to dump object or ressource
|
* @throws \RuntimeException When trying to dump object or resource
|
||||||
*/
|
*/
|
||||||
protected function dumpValue($value)
|
protected function dumpValue($value)
|
||||||
{
|
{
|
||||||
|
@ -53,7 +53,7 @@ interface LoaderExtensionInterface
|
|||||||
public function getXsdValidationBasePath();
|
public function getXsdValidationBasePath();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the recommanded alias to use in XML.
|
* Returns the recommended alias to use in XML.
|
||||||
*
|
*
|
||||||
* This alias is also the mandatory prefix to use when using YAML.
|
* This alias is also the mandatory prefix to use when using YAML.
|
||||||
*
|
*
|
||||||
|
@ -89,7 +89,7 @@ class ArrayDecorator extends GetterDecorator implements \Iterator, \ArrayAccess,
|
|||||||
/**
|
/**
|
||||||
* Returns true if the supplied offset isset in the array (as required by the ArrayAccess interface).
|
* Returns true if the supplied offset isset in the array (as required by the ArrayAccess interface).
|
||||||
*
|
*
|
||||||
* @param string $offset The offset of the value to check existance of
|
* @param string $offset The offset of the value to check existence of
|
||||||
*
|
*
|
||||||
* @return bool true if the offset isset; false otherwise
|
* @return bool true if the offset isset; false otherwise
|
||||||
*/
|
*/
|
||||||
|
@ -33,7 +33,7 @@ class IteratorDecorator extends ObjectDecorator implements \Iterator, \Countable
|
|||||||
private $iterator;
|
private $iterator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new escaping iteratoror using the escaping method and value supplied.
|
* Constructs a new escaping iterator using the escaping method and value supplied.
|
||||||
*
|
*
|
||||||
* @param string $escaper The escaping method to use
|
* @param string $escaper The escaping method to use
|
||||||
* @param \Traversable $value The iterator to escape
|
* @param \Traversable $value The iterator to escape
|
||||||
@ -100,7 +100,7 @@ class IteratorDecorator extends ObjectDecorator implements \Iterator, \Countable
|
|||||||
/**
|
/**
|
||||||
* Returns true if the supplied offset isset in the array (as required by the ArrayAccess interface).
|
* Returns true if the supplied offset isset in the array (as required by the ArrayAccess interface).
|
||||||
*
|
*
|
||||||
* @param string $offset The offset of the value to check existance of
|
* @param string $offset The offset of the value to check existence of
|
||||||
*
|
*
|
||||||
* @return bool true if the offset isset; false otherwise
|
* @return bool true if the offset isset; false otherwise
|
||||||
*/
|
*/
|
||||||
|
@ -31,7 +31,7 @@ class CompiledRoute
|
|||||||
*
|
*
|
||||||
* @param Route $route A original Route instance
|
* @param Route $route A original Route instance
|
||||||
* @param string $staticPrefix The static prefix of the compiled route
|
* @param string $staticPrefix The static prefix of the compiled route
|
||||||
* @param string $regex The regular expresion to use to match this route
|
* @param string $regex The regular expression to use to match this route
|
||||||
* @param array $tokens An array of tokens to use to generate URL for this route
|
* @param array $tokens An array of tokens to use to generate URL for this route
|
||||||
* @param array $variables An array of variables
|
* @param array $variables An array of variables
|
||||||
*/
|
*/
|
||||||
|
@ -63,7 +63,7 @@ class YamlFileLoader extends FileLoader
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws \InvalidArgumentException When coonfig pattern is not defined for the given route
|
* @throws \InvalidArgumentException When config pattern is not defined for the given route
|
||||||
*/
|
*/
|
||||||
protected function parseRoute(RouteCollection $collection, $name, $config, $file)
|
protected function parseRoute(RouteCollection $collection, $name, $config, $file)
|
||||||
{
|
{
|
||||||
|
@ -70,7 +70,7 @@ class Inline
|
|||||||
*
|
*
|
||||||
* @return string The YAML string representing the PHP array
|
* @return string The YAML string representing the PHP array
|
||||||
*
|
*
|
||||||
* @throws Exception When trying to dump PHP ressource
|
* @throws Exception When trying to dump PHP resource
|
||||||
*/
|
*/
|
||||||
static public function dump($value)
|
static public function dump($value)
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@ use Symfony\Components\DependencyInjection\ContainerInterface;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This EventDispatcher implementation uses a DependencyInjection contrainer to
|
* This EventDispatcher implementation uses a DependencyInjection container to
|
||||||
* lazy load listeners.
|
* lazy load listeners.
|
||||||
*
|
*
|
||||||
* @package symfony
|
* @package symfony
|
||||||
|
@ -24,7 +24,7 @@ use Doctrine\Common\Cli\CliController as DoctrineCliController;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for Doctrine consol commands to extend from.
|
* Base class for Doctrine console commands to extend from.
|
||||||
*
|
*
|
||||||
* @package symfony
|
* @package symfony
|
||||||
* @subpackage console
|
* @subpackage console
|
||||||
|
@ -82,7 +82,7 @@ class DataCollectorManager
|
|||||||
{
|
{
|
||||||
$config = $this->container->findAnnotatedServiceIds('data_collector');
|
$config = $this->container->findAnnotatedServiceIds('data_collector');
|
||||||
$ids = array();
|
$ids = array();
|
||||||
$coreColectors = array();
|
$coreCollectors = array();
|
||||||
$userCollectors = array();
|
$userCollectors = array();
|
||||||
foreach ($config as $id => $attributes)
|
foreach ($config as $id => $attributes)
|
||||||
{
|
{
|
||||||
@ -91,7 +91,7 @@ class DataCollectorManager
|
|||||||
|
|
||||||
if (isset($attributes[0]['core']) && $attributes[0]['core'])
|
if (isset($attributes[0]['core']) && $attributes[0]['core'])
|
||||||
{
|
{
|
||||||
$coreColectors[$collector->getName()] = $collector;
|
$coreCollectors[$collector->getName()] = $collector;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -99,6 +99,6 @@ class DataCollectorManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->collectors = array_merge($coreColectors, $userCollectors);
|
return $this->collectors = array_merge($coreCollectors, $userCollectors);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -137,7 +137,7 @@ class SwiftMailerExtension extends LoaderExtension
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the recommanded alias to use in XML.
|
* Returns the recommended alias to use in XML.
|
||||||
*
|
*
|
||||||
* This alias is also the mandatory prefix to use when using YAML.
|
* This alias is also the mandatory prefix to use when using YAML.
|
||||||
*
|
*
|
||||||
|
@ -24,7 +24,7 @@ class Filesystem
|
|||||||
*
|
*
|
||||||
* This method only copies the file if the origin file is newer than the target file.
|
* This method only copies the file if the origin file is newer than the target file.
|
||||||
*
|
*
|
||||||
* By default, if the target already exists, it is not overriden.
|
* By default, if the target already exists, it is not overridden.
|
||||||
*
|
*
|
||||||
* To override existing files, pass the "override" option.
|
* To override existing files, pass the "override" option.
|
||||||
*
|
*
|
||||||
|
@ -241,7 +241,7 @@ class Finder
|
|||||||
*
|
*
|
||||||
* Currently supports Subversion, CVS, DARCS, Gnu Arch, Monotone, Bazaar-NG, GIT, Mercurial
|
* Currently supports Subversion, CVS, DARCS, Gnu Arch, Monotone, Bazaar-NG, GIT, Mercurial
|
||||||
*
|
*
|
||||||
* @param bool $ignore falase when version control directories shall be included (default is true)
|
* @param bool $ignore false when version control directories shall be included (default is true)
|
||||||
*
|
*
|
||||||
* @return Finder Current object
|
* @return Finder Current object
|
||||||
*/
|
*/
|
||||||
@ -279,7 +279,7 @@ class Finder
|
|||||||
/**
|
/**
|
||||||
* Executes function or method for each element.
|
* Executes function or method for each element.
|
||||||
*
|
*
|
||||||
* Element match if functino or method returns true.
|
* Element match if function or method returns true.
|
||||||
*
|
*
|
||||||
* $finder->exec('myfunction');
|
* $finder->exec('myfunction');
|
||||||
* $finder->exec(array($object, 'mymethod'));
|
* $finder->exec(array($object, 'mymethod'));
|
||||||
|
@ -50,7 +50,7 @@ class Glob
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a compiled regex which is the equiavlent of the globbing pattern.
|
* Returns a compiled regex which is the equivalent of the globbing pattern.
|
||||||
*
|
*
|
||||||
* @param string $glob pattern
|
* @param string $glob pattern
|
||||||
* @return string regex
|
* @return string regex
|
||||||
|
Reference in New Issue
Block a user