Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 41... Línea 41...
41
     * Helper for defining an object.
41
     * Helper for defining an object.
42
     *
42
     *
43
     * @param string|null $className Class name of the object.
43
     * @param string|null $className Class name of the object.
44
     *                               If null, the name of the entry (in the container) will be used as class name.
44
     *                               If null, the name of the entry (in the container) will be used as class name.
45
     */
45
     */
46
    public function __construct(string $className = null)
46
    public function __construct(?string $className = null)
47
    {
47
    {
48
        $this->className = $className;
48
        $this->className = $className;
49
    }
49
    }
Línea 50... Línea 50...
50
 
50