src/Hydrator/HydrateGetters.php
function _getIgnoredByDocBlock()
    {
        if ($this->_c_ignored_docblock)
            // DocBlock Parsed To Cache Previously !!
            return $this->_c_ignored_docblock;


        $ignoredMethods = array();


        $ref = $this->_newReflection();
        $refuseIgnore = $this->getRefuseIgnore();


        // ignored methods from Class DocComment:
        $classDocComment = $ref->getDocComment();
        if ($classDocComment !== false && preg_match_all('/.*[\n]?/', $classDocComment, $lines)) {
            $lines = $lines[0];
            $regex = '/.+(@method).+((?P<method_name>\b\w+)\(.*\))\s@'.self::HYDRATE_IGNORE.'\s/';
            foreach($lines as $line) {
                if (preg_match($regex, $line, $matches)) {
                    if (! in_array($matches['method_name'], $refuseIgnore) )
                        $ignoredMethods[] = $matches['method_name'];
                }
            }
        }

        // ignored methods from Method DocBlock
        $methods = $ref->getMethods(\ReflectionMethod::IS_PUBLIC);
        foreach($methods as $m)
        {
            if (!(
                ('get'   == substr($m->getName(), 0, 3) && $prefix = 'get')
                ||  ('is'    == substr($m->getName(), 0, 2) && $prefix = 'is' )
            ))
                // It's Not Getter Method
                continue;


            if (! in_array($m->getName(), $refuseIgnore) ) {
                // it's not refused so check for ignore sign docblock
                $mc = $m->getDocComment();
                if ($mc !== false && preg_match('/@'.self::HYDRATE_IGNORE.'\s/', $mc, $matches))
                    $ignoredMethods[] = $m->getName();
            }
        }

        return $this->_c_ignored_docblock = $ignoredMethods;
    }
function _getIgnoredByDocBlock()
    {
        if ($this->_c_ignored_docblock)
            // DocBlock Parsed To Cache Previously !!
            return $this->_c_ignored_docblock;


        $ignoredMethods = array();


        $ref = $this->_newReflection();
        $refuseIgnore = $this->getRefuseIgnore();


        // ignored methods from Class DocComment:
        $classDocComment = $ref->getDocComment();
        if ($classDocComment !== false && preg_match_all('/.*[\n]?/', $classDocComment, $lines)) {
            $lines = $lines[0];
            $regex = '/.+(@method).+((?P<method_name>\b\w+)\(.*\))\s@'.self::HYDRATE_IGNORE.'\s/';
            foreach($lines as $line) {
                if (preg_match($regex, $line, $matches)) {
                    if (! in_array($matches['method_name'], $refuseIgnore) )
                        $ignoredMethods[] = $matches['method_name'];
                }
            }
        }

        // ignored methods from Method DocBlock
        $methods = $ref->getMethods(\ReflectionMethod::IS_PUBLIC);
        foreach($methods as $m)
        {
            if (!(
                ('get'   == substr($m->getName(), 0, 3) && $prefix = 'get')
                ||  ('is'    == substr($m->getName(), 0, 2) && $prefix = 'is' )
            ))
                // It's Not Getter Method
                continue;


            if (! in_array($m->getName(), $refuseIgnore) ) {
                // it's not refused so check for ignore sign docblock
                $mc = $m->getDocComment();
                if ($mc !== false && preg_match('/@'.self::HYDRATE_IGNORE.'\s/', $mc, $matches))
                    $ignoredMethods[] = $m->getName();
            }
        }

        return $this->_c_ignored_docblock = $ignoredMethods;
    }
function _getIgnoredByDocBlock ( ) { if ( $ this -> _c_ignored_docblock ) // DocBlock Parsed To Cache Previously !! return $ this -> _c_ignored_docblock ; $ ignoredMethods = array ( ) ; $ ref = $ this -> _newReflection ( ) ; $ refuseIgnore = $ this -> getRefuseIgnore ( ) ; // ignored methods from Class DocComment: $ classDocComment = $ ref -> getDocComment ( ) ; if ( $ classDocComment !== false && preg_match_all ( '/.*[\n]?/' , $ classDocComment , $ lines ) ) { $ lines = $ lines [ 0 ] ; $ regex = '/.+(@method).+((?P<method_name>\b\w+)\(.*\))\s@' . self :: HYDRATE_IGNORE . '\s/' ; foreach ( $ lines as $ line ) { if ( preg_match ( $ regex , $ line , $ matches ) ) { if ( ! in_array ( $ matches [ 'method_name' ] , $ refuseIgnore ) ) $ ignoredMethods [ ] = $ matches [ 'method_name' ] ; } } } // ignored methods from Method DocBlock $ methods = $ ref -> getMethods ( \ ReflectionMethod :: IS_PUBLIC ) ; foreach ( $ methods as $ m ) { if ( ! ( ( 'get' == substr ( $ m -> getName ( ) , 0 , 3 ) && $ prefix = 'get' ) || ( 'is' == substr ( $ m -> getName ( ) , 0 , 2 ) && $ prefix = 'is' ) ) ) // It's Not Getter Method continue ; if ( ! in_array ( $ m -> getName ( ) , $ refuseIgnore ) ) { // it's not refused so check for ignore sign docblock $ mc = $ m -> getDocComment ( ) ; if ( $ mc !== false && preg_match ( '/@' . self :: HYDRATE_IGNORE . '\s/' , $ mc , $ matches ) ) $ ignoredMethods [ ] = $ m -> getName ( ) ; } } return $ this -> _c_ignored_docblock = $ ignoredMethods ; }
Attain Ignored Methods From DockBlock

@ignore

@return []string
Attain Ignored Methods From DockBlock