Não use UUID
como PK nas tabelas do seu banco de dados.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class TabRepository | |
{ | |
private $mapping; | |
public function __construct(/*...*/, TabMapping $mapping) | |
{ | |
$this->mapping = $mapping; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Psr\Cache; | |
interface CacheInterface extends PSR6SimplifiedCacheInterface, \IteratorAggregate | |
{ | |
/** | |
* Gets a collection of entries from the CacheInterface, returning them as | |
* Map of the values associated with the set of keys requested. | |
* If no TransactionInterface is provided, it will return all entries stored |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Psr\Cache; | |
interface CacheInterface extends PSR6SimplifiedCacheInterface | |
{ | |
/** | |
* Retrieve the Cache Manager. | |
* | |
* @return ManagerInterface |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Psr\Cache; | |
interface CacheInterface extends \ArrayAccess | |
{ | |
/** | |
* Retrieve a Cache Entry. | |
* | |
* @param string $key |