/**
  * Returns the passed category and all its children
  *
  * @param \ThinkopenAt\TimeFlies\Domain\Model\Category $category
  * @return array<string> Object identifiers
  */
 public function findAllIdentifiersRecursive(\ThinkopenAt\TimeFlies\Domain\Model\Category $category = NULL)
 {
     if ($category === NULL) {
         return $this->findAllIdentifiers();
     }
     $result = array($category->getIdentifier());
     foreach ($category->getChildren() as $child) {
         $result = array_merge($result, $this->findAllIdentifiersRecursive($child));
     }
     return $result;
 }