M1\Vars\Resource\ResourceProvider::parseEntity PHP Method

parseEntity() private method

Creates the content from the entity
private parseEntity ( string $entity )
$entity string The configuration entity
    private function parseEntity($entity)
    {
        $files = $this->explodeResourceIfElse($entity);
        foreach ($files as $f) {
            $this->suppress_file_exceptions = $this->checkSuppression($f);
            $this->recursive = $this->checkRecursive($f);
            $f = $this->trimFlags($f);
            if (file_exists($f) || !isset($files[1])) {
                return $f;
            }
        }
        return $f;
    }