public function getContainerValues(&$item)
    {
        if (false === is_object($item) && false === is_array($item)) {
            $item = $this->getContainerServices($this->getContainerParameters($item));
        }

        return $item;
    }
public function getContainerValues(&$item)
    {
        if (false === is_object($item) && false === is_array($item)) {
            $item = $this->getContainerServices($this->getContainerParameters($item));
        }

        return $item;
    }
public function getContainerValues ( & $ item ) { if ( false === is_object ( $ item ) && false === is_array ( $ item ) ) { $ item = $ this -> getContainerServices ( $ this -> getContainerParameters ( $ item ) ) ; } return $ item ; }
Giving a string, try to return the container service or parameter if exists
This method can be call by array_walk or array_walk_recursive.

@param mixed $item

@return mixed
Giving a string try to return the container service or parameter if exists This method can be call by array_walk or array_walk_recursive .