Moss/Storage/Schema/Schema.php
protected function retrieveModels(array $entity = [])
    {
        $models = [];
        foreach ((array) $entity as $node) {
            $models[] = $this->models->get($node);
        }

        if (empty($models)) {
            $models = $this->models->all();
        }

        return $models;
    }
protected function retrieveModels(array $entity = [])
    {
        $models = [];
        foreach ((array) $entity as $node) {
            $models[] = $this->models->get($node);
        }

        if (empty($models)) {
            $models = $this->models->all();
        }

        return $models;
    }
protected function retrieveModels ( array $ entity = [ ] ) { $ models = [ ] ; foreach ( ( array ) $ entity as $ node ) { $ models [ ] = $ this -> models -> get ( $ node ) ; } if ( empty ( $ models ) ) { $ models = $ this -> models -> all ( ) ; } return $ models ; }
Returns array with models for operation

@param array $entity

@return ModelInterface[]
Returns array with models for operation