ApiPlatform\Core\Bridge\Symfony\Routing\ApiLoader::supports PHP Method

supports() public method

public supports ( $resource, $type = null )
    public function supports($resource, $type = null)
    {
        return 'api_platform' === $type;
    }