Doctrine\OXM\Mapping\Driver\AbstractFileDriver::__construct PHP Method

__construct() public method

Initializes a new FileDriver that looks in the given path(s) for mapping documents and operates in the specified operating mode.
public __construct ( string | array $paths )
$paths string | array One or multiple paths where mapping documents can be found.
    public function __construct($paths)
    {
        $this->addPaths((array) $paths);
    }