protected function itemSupportsMethodCall(IsMetInterface $item, $methodName)
    {
        $hash = spl_object_hash($item);

        if (empty($this->methodNamesPerItem)
            || !isset($this->methodNamesPerItem[$hash])) {
            $itemMethods = array_flip(get_class_methods($item));
            $this->methodNamesPerItem[$hash] = $itemMethods;
        }

        return (isset($this->methodNamesPerItem[$hash][$methodName]));
    }
protected function itemSupportsMethodCall(IsMetInterface $item, $methodName)
    {
        $hash = spl_object_hash($item);

        if (empty($this->methodNamesPerItem)
            || !isset($this->methodNamesPerItem[$hash])) {
            $itemMethods = array_flip(get_class_methods($item));
            $this->methodNamesPerItem[$hash] = $itemMethods;
        }

        return (isset($this->methodNamesPerItem[$hash][$methodName]));
    }
protected function itemSupportsMethodCall ( IsMetInterface $ item , $ methodName ) { $ hash = spl_object_hash ( $ item ) ; if ( empty ( $ this -> methodNamesPerItem ) || ! isset ( $ this -> methodNamesPerItem [ $ hash ] ) ) { $ itemMethods = array_flip ( get_class_methods ( $ item ) ) ; $ this -> methodNamesPerItem [ $ hash ] = $ itemMethods ; } return ( isset ( $ this -> methodNamesPerItem [ $ hash ] [ $ methodName ] ) ) ; }
Checks if item implements method name

@param IsMetInterface $item
@param string $methodName
@return bool
@author stev leibelt <artodeto@bazzline.net>
@since 2013-07-20
Checks if item implements method name