예제 #1
0
 /**
  * {@inheritdoc}
  */
 public function supports($data, Resource $resource)
 {
     if (strrpos($data['key'], '\\') !== false) {
         $data = substr($data['key'], strrpos($data['key'], '\\') + 1);
     } else {
         $data = $data['key'];
     }
     return parent::supports($data, $resource);
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function supports($data, Resource $resource)
 {
     $data = $data['value']['name'];
     return parent::supports($data, $resource);
 }
예제 #3
0
 /**
  * {@inheritdoc}
  */
 public function supports($data, Resource $resource)
 {
     $data = $data['key'];
     return parent::supports($data, $resource);
 }