Put flags in ES structure

This commit is contained in:
Mathieu Darse
2015-09-28 20:27:29 +02:00
parent 8b87e94ff2
commit 4424d43b18
14 changed files with 232 additions and 52 deletions

View File

@@ -75,6 +75,16 @@ final class LimitedStructure implements Structure
return $this->structure->isPrivate($name);
}
public function getAllFlags()
{
return $this->structure->getAllFlags();
}
public function getFlagByName($name)
{
return $this->structure->getFlagByName($name);
}
private function limit(array $fields)
{
$allowed_collections = $this->allowedCollections();