Skip to content

Commit

Permalink
Add Arrayable Interface
Browse files Browse the repository at this point in the history
  • Loading branch information
gossi committed May 23, 2015
1 parent 5f7a8bf commit 6b7ee31
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Arrayable.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
namespace phootwork\lang;

interface Arrayable {

/**
* Array representation of the object
*
* @return array
*/
public function toArray();

}

0 comments on commit 6b7ee31

Please sign in to comment.