private function isProcessed(stdClass $schema, SplObjectStorage $storage)
    {
        if ($storage->contains($schema)) {
            return true;
        }

        $storage->attach($schema);

        return false;
    }
private function isProcessed(stdClass $schema, SplObjectStorage $storage)
    {
        if ($storage->contains($schema)) {
            return true;
        }

        $storage->attach($schema);

        return false;
    }
private function isProcessed ( stdClass $ schema , SplObjectStorage $ storage ) { if ( $ storage -> contains ( $ schema ) ) { return true ; } $ storage -> attach ( $ schema ) ; return false ; }
Returns whether a schema has already been processed and stored in
a given collection. This acts as an infinite recursion check.

@param stdClass          $schema
@param SplObjectStorage  $storage

@return bool
Returns whether a schema has already been processed and stored in a given collection . This acts as an infinite recursion check .