public function getItemData($name): array
    {
        if (func_num_args() > 1)
            $name = func_get_args();

        if (!$this->hasItemData($name))
            return $this->getItemDataNotFound($name);

        return $this->getData()[$this->getItemKey($name)];
    }
public function getItemData($name): array
    {
        if (func_num_args() > 1)
            $name = func_get_args();

        if (!$this->hasItemData($name))
            return $this->getItemDataNotFound($name);

        return $this->getData()[$this->getItemKey($name)];
    }
public function getItemData ( $ name ) : array { if ( func_num_args ( ) > 1 ) $ name = func_get_args ( ) ; if ( ! $ this -> hasItemData ( $ name ) ) return $ this -> getItemDataNotFound ( $ name ) ; return $ this -> getData ( ) [ $ this -> getItemKey ( $ name ) ] ; }
Get item data

@param string|array $name

@return array
Get item data