public function getArguments($name)
    {
        if (null === $this->data) {
            $this->initializeProfile();
        }

        if (!isset($this->data['arguments'][$name])) {
            return array();
        }

        $arguments = array();
        foreach ($this->data['arguments'][$name] as $argument => $cost) {
            $arguments[$argument] = new Cost($cost);
        }

        return $arguments;
    }
public function getArguments($name)
    {
        if (null === $this->data) {
            $this->initializeProfile();
        }

        if (!isset($this->data['arguments'][$name])) {
            return array();
        }

        $arguments = array();
        foreach ($this->data['arguments'][$name] as $argument => $cost) {
            $arguments[$argument] = new Cost($cost);
        }

        return $arguments;
    }
public function getArguments ( $ name ) { if ( null === $ this -> data ) { $ this -> initializeProfile ( ) ; } if ( ! isset ( $ this -> data [ 'arguments' ] [ $ name ] ) ) { return array ( ) ; } $ arguments = array ( ) ; foreach ( $ this -> data [ 'arguments' ] [ $ name ] as $ argument => $ cost ) { $ arguments [ $ argument ] = new Cost ( $ cost ) ; } return $ arguments ; }
Returns the arguments for the given metric name.

@param string $name

@return array An array where keys are the argument values and values are Cost instances
Returns the arguments for the given metric name .