芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/www/vendor/nunomaduro/larastan/src/Contracts/Methods/PassableContract.php
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace NunoMaduro\Larastan\Contracts\Methods; use Illuminate\Contracts\Container\Container as ContainerContract; use PHPStan\Reflection\ClassReflection; use PHPStan\Reflection\MethodReflection; use PHPStan\Reflection\Php\PhpMethodReflectionFactory; use PHPStan\Reflection\ReflectionProvider; /** * @internal */ interface PassableContract { /** * @param \Illuminate\Contracts\Container\Container $container * @return void */ public function setContainer(ContainerContract $container): void; /** * @return \PHPStan\Reflection\ClassReflection */ public function getClassReflection(): ClassReflection; /** * @param \PHPStan\Reflection\ClassReflection $classReflection * @return PassableContract */ public function setClassReflection(ClassReflection $classReflection): PassableContract; /** * @return string */ public function getMethodName(): string; /** * @return bool */ public function hasFound(): bool; /** * @param string $class * @return bool */ public function searchOn(string $class): bool; /** * @return \PHPStan\Reflection\MethodReflection * * @throws \LogicException */ public function getMethodReflection(): MethodReflection; /** * @param \PHPStan\Reflection\MethodReflection $methodReflection */ public function setMethodReflection(MethodReflection $methodReflection): void; /** * Declares that the provided method can be called statically. * * @param bool $staticAllowed * @return void */ public function setStaticAllowed(bool $staticAllowed): void; /** * Returns whether the method can be called statically. * * @return bool */ public function isStaticAllowed(): bool; /** * @param class-string $class * @param bool $staticAllowed * @return bool */ public function sendToPipeline(string $class, $staticAllowed = false): bool; public function getReflectionProvider(): ReflectionProvider; /** * @return \PHPStan\Reflection\Php\PhpMethodReflectionFactory */ public function getMethodReflectionFactory(): PhpMethodReflectionFactory; }