Skip to content

Commit

Permalink
Merge pull request jarektkaczyk#85 from Christoph-Harms/5.2
Browse files Browse the repository at this point in the history
FIX Mappable Contract
  • Loading branch information
jarektkaczyk committed Apr 25, 2016
2 parents 78b6c38 + b13d453 commit 0329e4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Contracts/Mappable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

namespace Sofa\Eloquence\Contracts;

use Closure;

interface Mappable
{
public static function hook($method, $hook);
public static function hook($method, Closure $hook);
public function getAttribute($key);
public function setAttribute($key, $value);
public function hasMapping($key);
Expand Down

0 comments on commit 0329e4a

Please sign in to comment.