Esempio n. 1
0
 /**
  * Check if the Relation needs to be customized later
  * @param Relation $relation
  * @return type
  */
 private function allowCustomize(Relation $relation)
 {
     $customizedModels = $this->config->getCustomizedRelationList();
     if (!is_array($customizedModels)) {
         $customizedModels = [];
     }
     return in_array($relation->getName(), $customizedModels) || in_array($relation->getFQRN(), $customizedModels);
 }