for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the "elao/api-resources-metadata" package.
*
* Copyright (C) 2016 Elao
* @author Elao <[email protected]>
*/
namespace Elao\ApiResourcesMetadata\Resource\Locator;
class ArrayLocator implements LocatorInterface
{
/** @var array */
private $resources;
/**
* @param array $resources
public function __construct(array $resources)
$this->resources = $resources;
}
* {@inheritdoc}
public function locate(): array
return $this->resources;