# Push

class Push extends Base

Push method.

## Properties

protected | $_name |  |
protected | $_classes |  | from Base
boolean | $supported |  | from Base
string | $comment |  | from Base

## Methods

string
getName()

Returns the name.

from Base
boolean
setName(string $name)

Sets the name.

from Base
array
getClasses()

Returns all declared classes.

from Base
__construct(string $name, boolean $supported = false, string $comment = '')

Create the instance of your extended method.

from Base
boolean
isSupported()

Returns if the method is supported.

from Base

## Details

###
in Base at line 30
`final string getName()`

Returns the name.

#### Return Value

string |

###
in Base at line 41
`final boolean setName(string $name)`

Sets the name.

#### Parameters

string | $name |

#### Return Value

boolean |

###
in Base at line 57
`array getClasses()`

Returns all declared classes.

We need this way, because the autoloader will try to include the class file if we use "class_exists" or similar functions.

#### Return Value

array |

###
in Base at line 41
`__construct(string $name, boolean $supported = false, string $comment = '')`

Create the instance of your extended method.

#### Parameters

string | $name | The name of your method.
boolean | $supported | If the method fulfill itself, it will be true. Otherwise the supported flag will be false.
string | $comment | A comment about the extended method.

###
in Base at line 53
`boolean isSupported()`

Returns if the method is supported.

#### Return Value

boolean |