コード例 #1
0
 /**
  * @return array
  */
 public function getAccess()
 {
     $params = [];
     foreach ($this->getTypes() as $type) {
         $params[] = ['isWritable', Storage::getTypesWritable(), $type[0]];
     }
     foreach ($this->getTypes() as $type) {
         $params[] = ['isPathRequired', Storage::getTypesWritable(), $type[0]];
     }
     foreach ($this->getTypes() as $type) {
         $params[] = ['isReadable', Storage::getTypesReadable(), $type[0]];
     }
     return $params;
 }