Beispiel #1
0
 /**
  * @inheritDoc
  *
  * @throws DirectoryException If a value is not an Action instance
  */
 protected function assertValid(array $data)
 {
     parent::assertValid($data);
     foreach ($data as $value) {
         if (!is_object($value) || !$value instanceof Action) {
             throw DirectoryException::invalidEntry($value);
         }
     }
 }