SilverStripe\AssetAdmin\Tests\Forms\RemoteFileFormFactoryTest\MockEmbed
Synopsis
class MockEmbed
implements
Embeddable,TestOnly
{
- // members
- protected $url;
- // methods
- public void __construct()
- public void getWidth()
- public void getHeight()
- public void getPreviewURL()
- public string getName()
- public string getType()
- public bool validate()
Hierarchy
Implements
- SilverStripe\View\Embed\Embeddable
- SilverStripe\Dev\TestOnly
Members
protected
- $url
Methods
public
- __construct()
- getHeight()
- getName() — Get human readable name for this resource
- getPreviewURL()
- getType() — Get Embed type
- getWidth()
- validate() — Validate this resource