Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

jsarnowski / jsarnowski/brizy-pro   php

Repository URL to install this package:

Version: 2.3.7 

/ bagrinsergiu / content-placeholder / lib / RegistryInterface.php

<?php
namespace BrizyPlaceholders;

interface RegistryInterface
{
    /**
     * Register a placeholder class
     *
     * @param PlaceholderInterface $instance
     * @param $label
     * @param $placeholderName
     * @param $groupName
     *
     * @return mixed
     */
    public function registerPlaceholder(PlaceholderInterface $instance);

    /**
     * Return all placeholders
     *
     * @return PlaceholderInterface[]
     */
    public function getPlaceholders();

    /**
     * It will return first placeholder that supports the $name;
     *
     * @param $name
     *
     * @return mixed
     */
    public function getPlaceholderSupportingName($name);
}