Esempio n. 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);
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function supports($data, Resource $resource)
 {
     $data = $data['value']['name'];
     return parent::supports($data, $resource);
 }
Esempio n. 3
0
 /**
  * {@inheritdoc}
  */
 public function supports($data, Resource $resource)
 {
     $data = $data['key'];
     return parent::supports($data, $resource);
 }