Skip to content

Commit

Permalink
Move interfaces and adjust namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Prokyonn committed Nov 12, 2024
1 parent d274fce commit 5bf0ca6
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

namespace Sulu\Bundle\ContentBundle\Content\Application\PropertyResolver;

use Sulu\Bundle\ContentBundle\Content\Application\PropertyResolver\Resolver\PropertyResolverInterface;

class PropertyResolverProvider
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
use Sulu\Bundle\AdminBundle\Metadata\FormMetadata\FormMetadata;
use Sulu\Bundle\ContentBundle\Content\Application\ContentResolver\Value\ContentView;
use Sulu\Bundle\ContentBundle\Content\Application\MetadataResolver\MetadataResolver;
use Sulu\Bundle\ContentBundle\Content\Application\PropertyResolver\PropertyResolverInterface;

class BlockPropertyResolver implements PropertyResolverInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
namespace Sulu\Bundle\ContentBundle\Content\Application\PropertyResolver\Resolver;

use Sulu\Bundle\ContentBundle\Content\Application\ContentResolver\Value\ContentView;
use Sulu\Bundle\ContentBundle\Content\Application\PropertyResolver\PropertyResolverInterface;

class DefaultPropertyResolver implements PropertyResolverInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
namespace Sulu\Bundle\ContentBundle\Content\Application\PropertyResolver\Resolver;

use Sulu\Bundle\ContentBundle\Content\Application\ContentResolver\Value\ContentView;
use Sulu\Bundle\ContentBundle\Content\Application\PropertyResolver\PropertyResolverInterface;
use Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\LinkResourceLoader;
use Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\Loader\LinkResourceLoader;
use Sulu\Bundle\MarkupBundle\Markup\Link\LinkItem;

class LinkPropertyResolver implements PropertyResolverInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* with this source code in the file LICENSE.
*/

namespace Sulu\Bundle\ContentBundle\Content\Application\PropertyResolver;
namespace Sulu\Bundle\ContentBundle\Content\Application\PropertyResolver\Resolver;

use Sulu\Bundle\ContentBundle\Content\Application\ContentResolver\Value\ContentView;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
namespace Sulu\Bundle\ContentBundle\Content\Application\PropertyResolver\Resolver;

use Sulu\Bundle\ContentBundle\Content\Application\ContentResolver\Value\ContentView;
use Sulu\Bundle\ContentBundle\Content\Application\PropertyResolver\PropertyResolverInterface;
use Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\TeaserResourceLoader;
use Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\Loader\TeaserResourceLoader;
use Sulu\Bundle\PageBundle\Teaser\Teaser;

class TeaserSelectionPropertyResolver implements PropertyResolverInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* with this source code in the file LICENSE.
*/

namespace Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader;
namespace Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\Loader;

use Sulu\Bundle\MarkupBundle\Markup\Link\LinkItem;
use Sulu\Bundle\MarkupBundle\Markup\Link\LinkProviderPoolInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* with this source code in the file LICENSE.
*/

namespace Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader;
namespace Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\Loader;

interface ResourceLoaderInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* with this source code in the file LICENSE.
*/

namespace Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader;
namespace Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\Loader;

use Sulu\Bundle\PageBundle\Teaser\TeaserManagerInterface;

Expand Down
2 changes: 2 additions & 0 deletions Content/Application/ResourceLoader/ResourceLoaderProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

namespace Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader;

use Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\Loader\ResourceLoaderInterface;

class ResourceLoaderProvider
{
/**
Expand Down
4 changes: 2 additions & 2 deletions Resources/config/resource-loader.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
</service>

<service id="sulu_content.link_resource_loader"
class="Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\LinkResourceLoader">
class="Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\Loader\LinkResourceLoader">
<argument type="service" id="sulu_markup.link_tag.provider_pool"/>

<tag name="sulu_content.resource_loader" type="link"/>
</service>

<service id="sulu_content.teaser_resource_loader"
class="Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\TeaserResourceLoader">
class="Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\Loader\TeaserResourceLoader">
<argument type="service" id="sulu_page.teaser.manager"/>

<tag name="sulu_content.resource_loader" type="teaser"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use PHPUnit\Framework\TestCase;
use Prophecy\PhpUnit\ProphecyTrait;
use Prophecy\Prophecy\ObjectProphecy;
use Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\LinkResourceLoader;
use Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\Loader\LinkResourceLoader;
use Sulu\Bundle\MarkupBundle\Markup\Link\LinkItem;
use Sulu\Bundle\MarkupBundle\Markup\Link\LinkProviderInterface;
use Sulu\Bundle\MarkupBundle\Markup\Link\LinkProviderPoolInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

use PHPUnit\Framework\TestCase;
use Prophecy\PhpUnit\ProphecyTrait;
use Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\ResourceLoaderInterface;
use Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\Loader\ResourceLoaderInterface;
use Sulu\Bundle\ContentBundle\Content\Application\ResourceLoader\ResourceLoaderProvider;
use Sulu\Bundle\MediaBundle\Infrastructure\Sulu\Content\ResourceLoader\MediaResourceLoader;

Expand Down

0 comments on commit 5bf0ca6

Please sign in to comment.