This file contains 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 AppBundle\Entity\Spec; | |
use Doctrine\ORM\QueryBuilder; | |
use Happyr\DoctrineSpecification\Query\QueryModifier; | |
/** | |
* Class Select | |
*/ |
This file contains 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 App\Service; | |
class Encrypter | |
{ | |
private const METHOD = 'aes-256-cbc'; | |
private const DELIMITER = '::'; | |
private const WRONG_ENCRYPT_SYMBOLS = ['+','/','=']; | |
private const CORRECT_ENCRYPT_SYMBOLS = ['-','_','']; |
This file contains 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 App\ArgumentResolver; | |
use Symfony\Component\Validator\ConstraintViolationListInterface; | |
class AbstractRequestData | |
{ | |
/** | |
* @var ConstraintViolationListInterface |
This file contains 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 App\YourStrategyResolver\Handlers; | |
interface Handler | |
{ | |
public function can(): bool; | |
public function do(): array; | |
} |
This file contains 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 App; | |
class Test | |
{ | |
private $test2; | |
public function __construct(Test2 $test2) | |
{ |