symfony/lock 추가

This commit is contained in:
2018-05-08 00:38:29 +09:00
parent 330853c98d
commit a3f6a8e8ab
82 changed files with 5316 additions and 2 deletions
@@ -0,0 +1,5 @@
<?php
class ArithmeticError extends Error
{
}
@@ -0,0 +1,5 @@
<?php
class AssertionError extends Error
{
}
@@ -0,0 +1,5 @@
<?php
class DivisionByZeroError extends Error
{
}
@@ -0,0 +1,5 @@
<?php
class Error extends Exception
{
}
@@ -0,0 +1,5 @@
<?php
class ParseError extends Error
{
}
@@ -0,0 +1,23 @@
<?php
interface SessionUpdateTimestampHandlerInterface
{
/**
* Checks if a session identifier already exists or not.
*
* @param string $key
*
* @return bool
*/
public function validateId($key);
/**
* Updates the timestamp of a session when its data didn't change.
*
* @param string $key
* @param string $val
*
* @return bool
*/
public function updateTimestamp($key, $val);
}
@@ -0,0 +1,5 @@
<?php
class TypeError extends Error
{
}