1. Go to this page and download the library: Download resolver-interop/interface library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
resolver-interop / interface example snippets
public function resolveClass(
IocInterop\Interface\IocContainer $ioc,
class-string<T> $class,
mixed[] $arguments = [],
) : T;
public function mayResolveClass(string $class) : bool;
public function resolveParameters(
IocInterop\Interface\IocContainer $ioc,
ReflectionParameter[] $parameters,
mixed[] $arguments = [],
) : mixed[];
public function resolveParameter(
IocInterop\Interface\IocContainer $ioc,
ReflectionParameter $parameter,
) : mixed;
public function resolveType(
IocInterop\Interface\IocContainer $ioc,
?ReflectionType $type,
) : ?string;
public function resolveMethods(
IocInterop\Interface\IocContainer $ioc,
ReflectionMethod[] $methods,
object $object,
) : void;
public function resolveMethod(
IocInterop\Interface\IocContainer $ioc,
ReflectionMethod $method,
object $object,
) : void;
public function resolveProperties(
IocInterop\Interface\IocContainer $ioc,
ReflectionProperty[] $properties,
object $object,
) : void;
public function resolveProperty(
IocInterop\Interface\IocContainer $ioc,
ReflectionProperty $property,
object $object,
) : void;
public function resolveCall(
IocInterop\Interface\IocContainer $ioc,
callable $callable,
mixed[] $arguments = [],
) : mixed;
public function resolve(IocInterop\Interface\IocContainer $ioc) : mixed;
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.