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

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

        if (isset($ignore->path)) {
            $hydrated->setPath($ignore->path);
        }

        if (isset($ignore->match)) {
            $hydrated->setMatch($ignore->match);
        }

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

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

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

        if (isset($ignore->path)) {
            $hydrated->setPath($ignore->path);
        }

        if (isset($ignore->match)) {
            $hydrated->setMatch($ignore->match);
        }

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

        return $hydrated;
    }
public static function hydrate ( stdClass $ ignore ) { $ hydrated = new IgnoredLocationEntity ( ) ; if ( isset ( $ ignore -> id ) ) { $ hydrated -> setId ( $ ignore -> id ) ; } if ( isset ( $ ignore -> path ) ) { $ hydrated -> setPath ( $ ignore -> path ) ; } if ( isset ( $ ignore -> match ) ) { $ hydrated -> setMatch ( $ ignore -> match ) ; } if ( isset ( $ ignore -> exclude ) ) { $ hydrated -> setExclude ( $ ignore -> exclude ) ; } return $ hydrated ; }
Hydrate a ignore object into a IgnoredLocationEntity object

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