PHP Class Contao\CoreBundle\Config\Loader\PhpFileLoader

Inheritance: extends Symfony\Component\Config\Loader\Loader
Show file Open project: contao/core-bundle Class Usage Examples

Public Methods

Method Description
load ( string $file, string | null $type = null ) : string Reads the contents of a PHP file stripping the opening and closing PHP tags.
supports ( $resource, $type = null )

Method Details

load() public method

Reads the contents of a PHP file stripping the opening and closing PHP tags.
public load ( string $file, string | null $type = null ) : string
$file string
$type string | null
return string

supports() public method

public supports ( $resource, $type = null )