merged branch craue/patch-19 (PR #4101)

Commits
-------

f287f08 removed superfluous `public` modifier from interface methods

Discussion
----------

removed superfluous `public` modifier from interface methods
This commit is contained in:
Fabien Potencier 2012-04-24 21:17:26 +02:00
commit 25028a7c79
4 changed files with 7 additions and 7 deletions

View File

@ -35,7 +35,7 @@ interface CsrfProviderInterface
* @param string $intention Some value that identifies the action intention * @param string $intention Some value that identifies the action intention
* (i.e. "authenticate"). Doesn't have to be a secret value. * (i.e. "authenticate"). Doesn't have to be a secret value.
*/ */
public function generateCsrfToken($intention); function generateCsrfToken($intention);
/** /**
* Validates a CSRF token. * Validates a CSRF token.
@ -45,5 +45,5 @@ interface CsrfProviderInterface
* *
* @return Boolean Whether the token supplied by the browser is correct * @return Boolean Whether the token supplied by the browser is correct
*/ */
public function isCsrfTokenValid($intention, $token); function isCsrfTokenValid($intention, $token);
} }

View File

@ -26,7 +26,7 @@ interface FlashBagInterface extends SessionBagInterface
* @param string $type * @param string $type
* @param string $message * @param string $message
*/ */
public function add($type, $message); function add($type, $message);
/** /**
* Registers a message for a given type. * Registers a message for a given type.

View File

@ -179,7 +179,7 @@ interface SessionInterface
* *
* @param SessionBagInterface $bag * @param SessionBagInterface $bag
*/ */
public function registerBag(SessionBagInterface $bag); function registerBag(SessionBagInterface $bag);
/** /**
* Gets a bag instance by name. * Gets a bag instance by name.
@ -188,12 +188,12 @@ interface SessionInterface
* *
* @return SessionBagInterface * @return SessionBagInterface
*/ */
public function getBag($name); function getBag($name);
/** /**
* Gets session meta. * Gets session meta.
* *
* @return MetadataBag * @return MetadataBag
*/ */
public function getMetadataBag(); function getMetadataBag();
} }

View File

@ -34,5 +34,5 @@ interface ExtractorInterface
* *
* @param string $prefix The prefix * @param string $prefix The prefix
*/ */
public function setPrefix($prefix); function setPrefix($prefix);
} }