PHP Puli\Repository InMemoryRepository - 7 exemples trouvés. Ce sont les exemples réels les mieux notés de Puli\Repository\InMemoryRepository extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Resources can be added with the method {@link add()}:
php
use Puli\Repository\InMemoryRepository;
$repo = new InMemoryRepository();
$repo->add('/css', new DirectoryResource('/path/to/project/res/css'));