Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 27... Línea 27...
27
 
27
 
28
    /**
28
    /**
29
     * @param string $propertyName Property name
29
     * @param string $propertyName Property name
30
     * @param mixed $value Value that should be injected in the property
30
     * @param mixed $value Value that should be injected in the property
31
     */
31
     */
32
    public function __construct(string $propertyName, mixed $value, string $className = null)
32
    public function __construct(string $propertyName, mixed $value, ?string $className = null)
33
    {
33
    {
34
        $this->propertyName = $propertyName;
34
        $this->propertyName = $propertyName;
35
        $this->value = $value;
35
        $this->value = $value;
36
        $this->className = $className;
36
        $this->className = $className;