public static function hydrate(stdClass $ignore)
    {
        $hydrated = new IgnoredCodeEntity();

        if (isset($ignore->id)) {
            $hydrated->setId($ignore->id);
        }

        if (isset($ignore->class)) {
            $hydrated->setClass($ignore->class);
        }

        if (isset($ignore->method)) {
            $hydrated->setMethod($ignore->method);
        }

        if (isset($ignore->exclude)) {
            $hydrated->setExclude($ignore->exclude);
        }

        return $hydrated;
    }
public static function hydrate(stdClass $ignore)
    {
        $hydrated = new IgnoredCodeEntity();

        if (isset($ignore->id)) {
            $hydrated->setId($ignore->id);
        }

        if (isset($ignore->class)) {
            $hydrated->setClass($ignore->class);
        }

        if (isset($ignore->method)) {
            $hydrated->setMethod($ignore->method);
        }

        if (isset($ignore->exclude)) {
            $hydrated->setExclude($ignore->exclude);
        }

        return $hydrated;
    }
public static function hydrate ( stdClass $ ignore ) { $ hydrated = new IgnoredCodeEntity ( ) ; if ( isset ( $ ignore -> id ) ) { $ hydrated -> setId ( $ ignore -> id ) ; } if ( isset ( $ ignore -> class ) ) { $ hydrated -> setClass ( $ ignore -> class ) ; } if ( isset ( $ ignore -> method ) ) { $ hydrated -> setMethod ( $ ignore -> method ) ; } if ( isset ( $ ignore -> exclude ) ) { $ hydrated -> setExclude ( $ ignore -> exclude ) ; } return $ hydrated ; }
Hydrate a ignore object into a IgnoredCodeEntity object

@param stdClass $ignore
@return IgnoredCodeEntity
Hydrate a ignore object into a IgnoredCodeEntity object