Skip to content

Commit

Permalink
[HttpFoundation] update phpdoc of SessionHandlerInterface and unify p…
Browse files Browse the repository at this point in the history
…arameters of all handlers according to interface
  • Loading branch information
Tobion committed Apr 16, 2014
1 parent fdeebe6 commit eec4419
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions HttpFoundation/DbalSessionHandler.php
Expand Up @@ -26,8 +26,7 @@
* DBAL based session storage.
*
* This implementation is very similar to Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler
* but uses the Doctrine driver connection interface for non-PDO-based drivers like mysqli or OCI8.
* It is recommended to use the wrapper Doctrine\DBAL\Connection for lazy connections and optimized database-specific queries.
* but uses the Doctrine driver connection interface and thus also works with non-PDO-based drivers like mysqli and OCI8.
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
Expand Down Expand Up @@ -63,7 +62,7 @@ class DbalSessionHandler implements \SessionHandlerInterface
/**
* Constructor.
*
* @param DriverConnection $con A driver connection, preferably a wrapper Doctrine\DBAL\Connection
* @param DriverConnection $con A driver connection, preferably a wrapper Doctrine\DBAL\Connection for lazy connections
* @param string $tableName Table name
*/
public function __construct(DriverConnection $con, $tableName = 'sessions')
Expand Down

0 comments on commit eec4419

Please sign in to comment.