Skip to content

Commit

Permalink
merged branch nomack84/fixed_docblocks (PR #6033)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Commits
-------

644de74 Fix docblock in Doctrine Bridge

Discussion
----------

Fix docblocks in Doctrine Bridge
  • Loading branch information
fabpot committed Nov 17, 2012
2 parents 5d1ce89 + 644de74 commit 9c6497f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php
Expand Up @@ -46,6 +46,9 @@ public function isOptional()
return false; return false;
} }


/**
* {@inheritdoc}
*/
public function warmUp($cacheDir) public function warmUp($cacheDir)
{ {
foreach ($this->registry->getManagers() as $em) { foreach ($this->registry->getManagers() as $em) {
Expand Down
2 changes: 2 additions & 0 deletions src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php
Expand Up @@ -68,6 +68,7 @@ public function dispatchEvent($eventName, EventArgs $eventArgs = null)
* Gets the listeners of a specific event or all listeners. * Gets the listeners of a specific event or all listeners.
* *
* @param string $event The name of the event. * @param string $event The name of the event.
*
* @return array The event listeners for the specified event, or all event listeners. * @return array The event listeners for the specified event, or all event listeners.
*/ */
public function getListeners($event = null) public function getListeners($event = null)
Expand All @@ -79,6 +80,7 @@ public function getListeners($event = null)
* Checks whether an event has any registered listeners. * Checks whether an event has any registered listeners.
* *
* @param string $event * @param string $event
*
* @return boolean TRUE if the specified event has any listeners, FALSE otherwise. * @return boolean TRUE if the specified event has any listeners, FALSE otherwise.
*/ */
public function hasListeners($event) public function hasListeners($event)
Expand Down
Expand Up @@ -148,6 +148,7 @@ private function sanitizeQuery($connectionName, $query)
* value to explain the query). * value to explain the query).
* *
* @param mixed $var * @param mixed $var
*
* @return array * @return array
*/ */
private function sanitizeParam($var) private function sanitizeParam($var)
Expand Down
Expand Up @@ -369,6 +369,7 @@ protected function loadObjectManagerCacheDriver(array $objectManager, ContainerB
* @example $name is 'entity_manager' then the result would be 'doctrine.orm.entity_manager' * @example $name is 'entity_manager' then the result would be 'doctrine.orm.entity_manager'
* *
* @param string $name * @param string $name
*
* @return string * @return string
*/ */
abstract protected function getObjectManagerElementName($name); abstract protected function getObjectManagerElementName($name);
Expand Down

0 comments on commit 9c6497f

Please sign in to comment.