Ejemplo n.º 1
0
 /**
  * This is where traits would be useful
  *
  * {@inheritDoc}
  */
 public function checkValue($data)
 {
     $count = count($data);
     return parent::checkValue($count);
 }
Ejemplo n.º 2
0
 /**
  * This is where traits would be useful
  *
  * {@inheritDoc}
  */
 public function checkValue($data)
 {
     $length = strlen($data);
     return parent::checkValue($length);
 }
Ejemplo n.º 3
0
 /**
  * This is where traits would be useful
  *
  * {@inheritDoc}
  */
 public function checkValue($data)
 {
     $count = count(get_object_vars($data));
     return parent::checkValue($count);
 }