ReflectionMethod::hasPrototype
En esta página
ReflectionMethod::hasPrototype
Indica si el método tiene un prototipo
Descripción#
public ReflectionMethod::hasPrototype(): bool
```php
Indica si el método tiene un prototipo.
## Parámetros
Esta función no contiene ningún parámetro.
## Valores devueltos
Devuelve `true` si el método tiene un prototipo, de lo contrario `false`.
## Ejemplos
Ejemplo con ReflectionMethod::hasPrototype
```php
El ejemplo anterior mostrará:
bool(true)
Véase también#
ReflectionMethod::getPrototype