mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-12-23 21:42:38 +00:00
19 lines
245 B
PHP
19 lines
245 B
PHP
<?php
|
|
namespace PortableInfobox\Parser\Nodes;
|
|
|
|
class NodeImage extends NodeMedia {
|
|
/*
|
|
* @return bool
|
|
*/
|
|
protected function allowImage() {
|
|
return true;
|
|
}
|
|
|
|
/*
|
|
* @return bool
|
|
*/
|
|
protected function allowAudio() {
|
|
return false;
|
|
}
|
|
}
|