Skip to content

Commit

Permalink
Updated to 1.0.3 version
Browse files Browse the repository at this point in the history
  • Loading branch information
josantonius committed May 31, 2017
1 parent a9f61f5 commit b8f4b3d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,24 @@ require __DIR__ . '/vendor/autoload.php';

use Josantonius\Hook\Hook;
```

### Available Methods

Available methods in this library:

| Hook::getInstance() | Get instance | Type
| --- | --- | --- |
```php
Hook::getInstance();
```

```php
setSingletonName($method);
```

| Hook::getInstance() | Get instance | Type
| Atttribute | Description | Type |
| --- | --- | --- |
| Hook::getInstance() | Add a new button in the film pages of the Grifus theme with which you can copy the complete information with a single click. | [WordPress Plugin](https://github.com/Josantonius/Extensions-For-Grifus.git)
| $method | Set method name for use singleton pattern | string |

**Hook::setSingletonName**($method);

$method → (**string**) → Set method name for use singleton pattern.

**Hook::addAction**($tag, $function, $priority, $args);

Expand Down

0 comments on commit b8f4b3d

Please sign in to comment.