protected function createChildCheckers()
    {
        foreach ($this->getResource()->getFilteredResources() as $resource) {
            $resource instanceof DirectoryResource
                ? $this->directories[basename((string) $resource)] = new DirectoryStateChecker($this->getBag(), $resource, $this->getEventsMask())
                : $this->files[basename((string) $resource)] = $resource;
        }
    }
protected function createChildCheckers()
    {
        foreach ($this->getResource()->getFilteredResources() as $resource) {
            $resource instanceof DirectoryResource
                ? $this->directories[basename((string) $resource)] = new DirectoryStateChecker($this->getBag(), $resource, $this->getEventsMask())
                : $this->files[basename((string) $resource)] = $resource;
        }
    }
protected function createChildCheckers ( ) { foreach ( $ this -> getResource ( ) -> getFilteredResources ( ) as $ resource ) { $ resource instanceof DirectoryResource ? $ this -> directories [ basename ( ( string ) $ resource ) ] = new DirectoryStateChecker ( $ this -> getBag ( ) , $ resource , $ this -> getEventsMask ( ) ) : $ this -> files [ basename ( ( string ) $ resource ) ] = $ resource ; } }
Reads files and subdirectories and transforms them to resources.
Reads files and subdirectories and transforms them to resources .