/** * Gets the definition for the projection. * * @return array */ protected function getDefinition() { $definition = parent::getDefinition(); if (!is_array($definition)) { $definition = []; } return $definition; }