* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace ApiPlatform\Documentation; use ApiPlatform\Metadata\Resource\ResourceNameCollection; /** * The first path you will see in the API. * * @author Amrouche Hamza */ final class Entrypoint { public function __construct(private readonly ResourceNameCollection $resourceNameCollection) { } public function getResourceNameCollection(): ResourceNameCollection { return $this->resourceNameCollection; } }