Exemplo 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'));
 }
Exemplo n.º 2
0
Arquivo: Main.php Projeto: 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());
 }
Exemplo 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);
 }