Yosymfony\Spress\Core\DataSource\Filesystem\FilesystemDataSource::configure PHP Method

configure() public method

public configure ( )
    public function configure()
    {
        $this->items = [];
        $this->layouts = [];
        $this->includes = [];
        $resolver = $this->getResolver();
        $this->params = $resolver->resolve($this->params);
        switch ($this->params['attribute_syntax']) {
            case 'yaml':
                $this->attributeParser = new AttributeParser(AttributeParser::PARSER_YAML);
                break;
            case 'json':
                $this->attributeParser = new AttributeParser(AttributeParser::PARSER_JSON);
                break;
        }
    }