Prado\Data\SqlMap\DataMapper\TLazyLoadList::hasMethod PHP Method

hasMethod() public method

Try to fetch the data when any of the proxy collection method is called.
public hasMethod ( $method ) : boolean
return boolean true if the underlying collection has the corresponding method name.
    public function hasMethod($method)
    {
        $this->fetchListData();
        if (is_object($this->_innerList)) {
            return in_array($method, get_class_methods($this->_innerList));
        }
        return false;
    }