src/Config/Loader/FileLoader/PhpArray.php
public function load($resource, $type = null)
    {
        $config = include $resource;

        if (!is_array($config)) {
            throw new \InvalidArgumentException(
                sprintf('The file "%s" did not return a valid PHP array when included', $resource)
            );
        }

        return $config;
    }
public function load($resource, $type = null)
    {
        $config = include $resource;

        if (!is_array($config)) {
            throw new \InvalidArgumentException(
                sprintf('The file "%s" did not return a valid PHP array when included', $resource)
            );
        }

        return $config;
    }
public function load ( $ resource , $ type = null ) { $ config = include $ resource ; if ( ! is_array ( $ config ) ) { throw new \ InvalidArgumentException ( sprintf ( 'The file "%s" did not return a valid PHP array when included' , $ resource ) ) ; } return $ config ; }
Load a PHP file

@param  string $resource File path to a PHP file that returns an array
@param  string|null $type This is not used

@return array Array containing data from the PHP file
Load a PHP file