public function getArguments($includeBase = true)
    {
        Assert::boolean($includeBase, 'The parameter $includeBase must be a boolean. Got: %s');

        $arguments = $this->arguments;

        if ($includeBase && $this->baseFormat) {
            // prepend base arguments
            $arguments = array_replace($this->baseFormat->getArguments(), $arguments);
        }

        return $arguments;
    }
public function getArguments($includeBase = true)
    {
        Assert::boolean($includeBase, 'The parameter $includeBase must be a boolean. Got: %s');

        $arguments = $this->arguments;

        if ($includeBase && $this->baseFormat) {
            // prepend base arguments
            $arguments = array_replace($this->baseFormat->getArguments(), $arguments);
        }

        return $arguments;
    }
public function getArguments ( $ includeBase = true ) { Assert :: boolean ( $ includeBase , 'The parameter $includeBase must be a boolean. Got: %s' ) ; $ arguments = $ this -> arguments ; if ( $ includeBase && $ this -> baseFormat ) { // prepend base arguments $ arguments = array_replace ( $ this -> baseFormat -> getArguments ( ) , $ arguments ) ; } return $ arguments ; }
Returns all arguments of the format.

@param bool $includeBase Whether to include arguments of the base format
in the result.

@return Argument[] The arguments.
Returns all arguments of the format .