for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
/**
* Created by PhpStorm.
* User: root
* Date: 27.07.2016
* Time: 1:55.
*/
namespace samsonframework\container\collection\configurator;
use samsonframework\container\collection\CollectionKeyConfiguratorInterface;
use samsonframework\container\metadata\ClassMetadata;
use samsonframework\container\metadata\PropertyMetadata;
* Instance/Service properties collection configurator class.
*
* @author Vitaly Egorov <[email protected]>
class Properties implements CollectionKeyConfiguratorInterface
{
use CollectionConfiguratorTrait;
* {@inheritdoc}
public function resolve(array $data, ClassMetadata $classMetadata)
$data
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$classMetadata
// Parse properties from metadata
return new PropertyMetadata();
PropertyMetadata::__construct()
This check looks for function calls that miss required arguments.
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.