/** * @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; }