Ejemplo n.º 1
0
 /**
  * Condition to check for rewrite
  *
  * @param \Includes\Decorator\DataStructure\Graph\Classes $node Current node
  *
  * @return boolean
  */
 protected function checkRewriteCondition(\Includes\Decorator\DataStructure\Graph\Classes $node)
 {
     return parent::checkRewriteCondition($node) && ($node->getTag('Entity') || $node->getTag('MappedSuperClass'));
 }
Ejemplo n.º 2
0
Archivo: Main.php Proyecto: kingsj/core
 /**
  * Condition to check for rewrite
  *
  * @param \Includes\Decorator\DataStructure\Graph\Classes $node Current node
  *
  * @return boolean
  */
 protected function checkRewriteCondition(\Includes\Decorator\DataStructure\Graph\Classes $node)
 {
     return parent::checkRewriteCondition($node) && ($node->isDecorator() || $node->isLowLevelNode());
 }
Ejemplo n.º 3
0
 /**
  * Condition to check for rewrite
  *
  * @param \Includes\Decorator\DataStructure\Graph\Classes $node Current node
  *
  * @return boolean
  */
 protected function checkRewriteCondition(\Includes\Decorator\DataStructure\Graph\Classes $node)
 {
     return parent::checkRewriteCondition($node) && $node->isDecorator() && $this->isEntityDecorator($node);
 }