ReflectionClass::isFinal

Checks if class is final

&reftitle.description; public `bool` `ReflectionClass::isFinal`

Checks if a class is final.

&reftitle.parameters; &no.function.parameters;
&reftitle.returnvalues;

&return.success;

&reftitle.examples;

### `ReflectionClass::isFinal` example

    <?php
    class       TestClass { }
    final class TestFinalClass { }

    $normalClass = new ReflectionClass('TestClass');
    $finalClass  = new ReflectionClass('TestFinalClass');

    var_dump($normalClass->isFinal());
    var_dump($finalClass->isFinal());

    ?>

&example.outputs;

    bool(false)
    bool(true)

&reftitle.seealso;

- `ReflectionClass::isAbstract`
- Final Keyword