-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewritten according to the new atom package extension model.
- Loading branch information
Showing
21 changed files
with
286 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
/** | ||
* Atom Publishing Protocol support | ||
* | ||
* @author Михаил Красильников <m.krasilnikov@yandex.ru> | ||
* @license MIT | ||
*/ | ||
namespace Mekras\AtomPub; | ||
|
||
use Mekras\Atom\DocumentFactory as BaseDocumentFactory; | ||
use Mekras\AtomPub\Extension\AtomPubExtension; | ||
|
||
/** | ||
* XML to AtomPub Document converter. | ||
* | ||
* @since 1.0 | ||
* | ||
* @api | ||
*/ | ||
class DocumentFactory extends BaseDocumentFactory | ||
{ | ||
/** | ||
* Create new factory. | ||
*/ | ||
public function __construct() | ||
{ | ||
parent::__construct(); | ||
$this->getExtensions()->register(new AtomPubExtension()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.