protected function buildRoutingProfile($node1 = null, $node2 = null)
    {
        return [
            ($node1 !== null) ? $node1 : self::DEFAULT_PRESENTER,
            ($node2 !== null) ? $node2 : self::DEFAULT_ACTION,
        ];
    }
protected function buildRoutingProfile($node1 = null, $node2 = null)
    {
        return [
            ($node1 !== null) ? $node1 : self::DEFAULT_PRESENTER,
            ($node2 !== null) ? $node2 : self::DEFAULT_ACTION,
        ];
    }
protected function buildRoutingProfile ( $ node1 = null , $ node2 = null ) { return [ ( $ node1 !== null ) ? $ node1 : self :: DEFAULT_PRESENTER , ( $ node2 !== null ) ? $ node2 : self :: DEFAULT_ACTION , ] ; }
Takes two optional arguments and build a basic routing profile.
If null is passed the default value is used.

@param string $node1 The first node part of the route
@param string $node2 The second node part of the route

@author Benjamin Carl <opensource@clickalicious.de>

@return string[] The resulting array containing two nodes "object" and "action" of target route
Takes two optional arguments and build a basic routing profile . If null is passed the default value is used .