src/CacheLoader.php
private function setResources($resources)
    {
        if (!$resources instanceof ResourcesInterface) {
            $files = (array)$resources;
            $resources = new Resources;

            array_walk($files, [$resources, 'addFileResource']);
        }

        $this->resources = $resources;
    }
private function setResources($resources)
    {
        if (!$resources instanceof ResourcesInterface) {
            $files = (array)$resources;
            $resources = new Resources;

            array_walk($files, [$resources, 'addFileResource']);
        }

        $this->resources = $resources;
    }
private function setResources ( $ resources ) { if ( ! $ resources instanceof ResourcesInterface ) { $ files = ( array ) $ resources ; $ resources = new Resources ; array_walk ( $ files , [ $ resources , 'addFileResource' ] ) ; } $ this -> resources = $ resources ; }
Set the main resource files.

@param string|array|ResourcesInterface $resources

@return void
Set the main resource files .