src/Factory.php
public function createLocation(string $location, string $match = null) : Location
    {
        return new Location(new Param($location), is_null($match) ? null : new Param($match));
    }
public function createLocation(string $location, string $match = null) : Location
    {
        return new Location(new Param($location), is_null($match) ? null : new Param($match));
    }
public function createLocation ( string $ location , string $ match = null ) : Location { return new Location ( new Param ( $ location ) , is_null ( $ match ) ? null : new Param ( $ match ) ) ; }
Creates Location node
@param string $location
@param string|null $match
@return Location
Creates Location node