Skip to content

Commit

Permalink
MetadataDocument stub.
Browse files Browse the repository at this point in the history
  • Loading branch information
mekras committed Jul 14, 2016
1 parent 9d77603 commit 0cbad3b
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion src/Document/MetadataDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,31 @@
*
* @since 1.0
*
* @link http://www.odata.org/documentation/odata-version-2-0/overview/#ServiceMetadataDocument
* @link http://www.odata.org/documentation/odata-version-2-0/overview/#ServiceMetadataDocument
*/
class MetadataDocument extends Document
{
/**
* Return node main namespace.
*
* @return string
*
* @since 1.0
*/
public function ns()
{
return 'http://schemas.microsoft.com/ado/2007/06/edmx';
}

/**
* Return root node name here.
*
* @return string
*
* @since 1.0
*/
protected function getRootNodeName()
{
return 'Edmx';
}
}

0 comments on commit 0cbad3b

Please sign in to comment.