Skip to content

Commit

Permalink
[#2] Create basic EnvelopeInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
kgilden committed Oct 11, 2014
1 parent f0d8208 commit 349fc38
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Envelope.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;

class Envelope
class Envelope implements EnvelopeInterface
{
/**
* @var \Doctrine\Common\Collections\Collection
Expand Down
25 changes: 25 additions & 0 deletions src/EnvelopeInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

/*
* This file is part of the DigiDoc package.
*
* (c) Kristen Gilden <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace KG\DigiDoc;

interface EnvelopeInterface
{
/**
* @return \Iterator
*/
public function getFiles();

/**
* @return \Iterator
*/
public function getSignatures();
}

0 comments on commit 349fc38

Please sign in to comment.