-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/sulu/SuluArticleBundle
- Loading branch information
Showing
19 changed files
with
579 additions
and
333 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 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,43 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of Sulu. | ||
* | ||
* (c) MASSIVE ART WebServices GmbH | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace Sulu\Bundle\ArticleBundle\Document\Behavior; | ||
|
||
use Sulu\Bundle\RouteBundle\Model\RoutableInterface; | ||
use Sulu\Component\DocumentManager\Behavior\Mapping\LocaleBehavior; | ||
use Sulu\Component\DocumentManager\Behavior\Mapping\UuidBehavior; | ||
|
||
/** | ||
* This behavior has to be attached to documents which should have a sulu-route. | ||
*/ | ||
interface RoutableBehavior extends RoutableInterface, UuidBehavior, LocaleBehavior | ||
{ | ||
/** | ||
* Returns route-path. | ||
* | ||
* @return string | ||
*/ | ||
public function getRoutePath(); | ||
|
||
/** | ||
* Set route-path. | ||
* | ||
* @param string $routePath | ||
*/ | ||
public function setRoutePath($routePath); | ||
|
||
/** | ||
* Set uuid. | ||
* | ||
* @param string $uuid | ||
*/ | ||
public function setUuid($uuid); | ||
} |
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
Oops, something went wrong.