for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Accessible\Annotation;
abstract class AbstractAssociation
{
/**
* The name of the property that refers to the current class.
*
* @var string
*/
protected $associatedProperty;
* The name of the class of the property.
protected $className;
* Initializes the annotation.
* @param mixed $values The name of the property that refers to the current class.
public function __construct($values)
$this->className = $values['className'];
$this->associatedProperty = $values['propertyName'];
}
* Get the name of the property that refers to the current class.
* @return string The value.
public function getAssociatedProperty()
return $this->associatedProperty;
* Get the name of the class of the property.
public function getClassName()
return $this->className;