* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Cache\Adapter; use Doctrine\DBAL\Connection; use Symfony\Component\Cache\Exception\InvalidArgumentException; use Symfony\Component\Cache\PruneableInterface; use Symfony\Component\Cache\Traits\PdoTrait; class PdoAdapter extends AbstractAdapter implements PruneableInterface { use PdoTrait; protected $maxIdLength = 255; /** * You can either pass an existing database connection as PDO instance or * a Doctrine DBAL Connection or a DSN string that will be used to * lazy-connect to the database when the cache is actually used. * * List of available options: * * db_table: The name of the table [default: cache_items] * * db_id_col: The column where to store the cache id [default: item_id] * * db_data_col: The column where to store the cache data [default: item_data] * * db_lifetime_col: The column where to store the lifetime [default: item_lifetime] * * db_time_col: The column where to store the timestamp [default: item_time] * * db_username: The username when lazy-connect [default: ''] * * db_password: The password when lazy-connect [default: ''] * * db_connection_options: An array of driver-specific connection options [default: array()] * * @param \PDO|Connection|string $connOrDsn A \PDO or Connection instance or DSN string or null * @param string $namespace * @param int $defaultLifetime * @param array $options An associative array of options * * @throws InvalidArgumentException When first argument is not PDO nor Connection nor string * @throws InvalidArgumentException When PDO error mode is not PDO::ERRMODE_EXCEPTION * @throws InvalidArgumentException When namespace contains invalid characters */ public function __construct($connOrDsn, $namespace = '', $defaultLifetime = 0, array $options = array()) { $this->init($connOrDsn, $namespace, $defaultLifetime, $options); } } __halt_compiler();----SIGNATURE:----NEWfddzOWM8//Y0XJ9OSBGfrvzdMqmMpLvNPWIvA99piG7rpbeHwbYl/6FLLfha93mRBbkXK61Ql2X02xajDnG6HesEiKqSIeGDE9SZTaJ7E8j6CdFrRywJaPEvvDRDcqxOKMc1UGJ1XJjN8DLqhUjiTc5wbjYh3iQa0V/E948Yma9yj8/eHe+Dzl4GLazmSgQ+HgE6X/egNkAcsq44lDLYM06OOPpPS9B1QnjGhedXd6MBEJKE9iw79BMgWvC4USFn7DFDh4LAwITcuRImA1uO3AVw7WaAgBNQdkAO9jOXcGrmxDjAcMo2qQLQJuvgoF3hamHnvJaYL/83EovVMqvydkPS4CxPROrrx11r1vEB7k3bGlTPtFv5gEc9V9jzAplUC2kiiqT9S5OiGAdeYEJ/EXqMM85MBM7JTqI4YKpPF5piAJ3iL6JTRkpR50i3TJEaM2vHzi5ggaZ1RoEwq8RN4KiJZUJeKa9L8ST4vYm0YgoF9xnmxJyRuGpl0S2CiIpiXk1M62wr6z4waVsrG4Lor60tuHp3sB0uAq1QPESWWPXgWfe6q2JD7cwBMVGVOooc/v5HJteKm6WqK5nxre7rUZo5WY3J6Sg0EBt7Bk9i1ifEjPTGiV1ZLXduchVAWMRCXkimPLyruwZjlTnK6LgRSHNiuAFtnlkfg6eouljM=----ATTACHMENT:----ODMwMjYyMzQxMDM2NTg0MSA1NjAwOTUyMzQ2MDkxNTUgNTAwMDE0NTY1MjUyMzQ3MQ==