1 | <?php |
||
33 | class AspectBind |
||
34 | { |
||
35 | /** @var bool */ |
||
36 | protected $cacheable; |
||
37 | |||
38 | /** @var string */ |
||
39 | protected $path; |
||
40 | |||
41 | /** @var Filesystem */ |
||
42 | protected $filesystem; |
||
43 | |||
44 | /** @var string */ |
||
45 | protected $extension = '.cached.php'; |
||
46 | |||
47 | /** |
||
48 | * AspectBind constructor. |
||
49 | * |
||
50 | * @param Filesystem $filesystem |
||
51 | * @param string $path |
||
52 | * @param bool $cacheable |
||
53 | */ |
||
54 | public function __construct( |
||
63 | |||
64 | /** |
||
65 | * @param string $class |
||
66 | * @param array $pointcuts |
||
67 | * @return mixed|\Ray\Aop\BindInterface |
||
68 | * @throws \Doctrine\Common\Annotations\AnnotationException |
||
69 | * @throws \ReflectionException |
||
70 | */ |
||
71 | public function bind(string $class, array $pointcuts) |
||
86 | |||
87 | /** |
||
88 | * @param string $path |
||
89 | */ |
||
90 | private function makeCacheDir(string $path): void |
||
96 | } |
||
97 |