Hacked By AnonymousFox

Current Path : /var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/vendor/league/container/src/ServiceProvider/
Upload File :
Current File : //var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/vendor/league/container/src/ServiceProvider/AbstractServiceProvider.php

<?php declare(strict_types=1);

namespace Automattic\Kkart\Vendor\League\Container\ServiceProvider;

use Automattic\Kkart\Vendor\League\Container\ContainerAwareTrait;

abstract class AbstractServiceProvider implements ServiceProviderInterface
{
    use ContainerAwareTrait;

    /**
     * @var array
     */
    protected $provides = [];

    /**
     * @var string
     */
    protected $identifier;

    /**
     * {@inheritdoc}
     */
    public function provides(string $alias) : bool
    {
        return in_array($alias, $this->provides, true);
    }

    /**
     * {@inheritdoc}
     */
    public function setIdentifier(string $id) : ServiceProviderInterface
    {
        $this->identifier = $id;

        return $this;
    }

    /**
     * {@inheritdoc}
     */
    public function getIdentifier() : string
    {
        return $this->identifier ?? get_class($this);
    }
}

Hacked By AnonymousFox1.0, Coded By AnonymousFox