!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/vendor/artesaos/seotools/src/SEOTools/Contracts/   drwxr-xr-x
Free 13.2 GB of 57.97 GB (22.78%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     JsonLdMulti.php (3.25 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Artesaos\SEOTools\Contracts;

/**
 * JsonLdMulti defines contract for the JSON Linked Data container.
 * Usage example:
 * ```php
 * use Artesaos\SEOTools\JsonLdMulti; // implements `Artesaos\SEOTools\Contracts\JsonLdMulti`
 * $jsonLd = new JsonLdMulti(1);
 * // specify JSON data
 * $jsonLd->setName('Home');
 * $jsonLd->setDescription('This is my page description');
 * $jsonLd->addValue('author', [
 *     '@type' => 'Organization',
 *     'name' => 'Artesaos',
 * ]));
 * $jsonLd->newJsonLd();
 * $jsonLd->setName('Homepage');
 * $jsonLd->setType('Product');
 * // render HTML, it should be placed within 'head' HTML tag
 * echo $jsonLd->generate();
 * ```
 * Implementation of this contract is available via {@see \Artesaos\SEOTools\Facades\JsonLdMulti} facade.
 * Facade usage example:
 * ```php
 * use Artesaos\SEOTools\Facades\JsonLdMulti;
 * // specify JSON data
 * JsonLdMulti::setName('Homepage');
 * JsonLdMulti::setDescription('This is my page description');
 * JsonLdMulti::addValue('author', [
 *     '@type' => 'Organization',
 *     'name' => 'Artesaos',
 * ]));
 * JsonLdMulti::newJsonLd();
 * JsonLdMulti::setName('Homepage');
 * JsonLdMulti::setType('Product');
 * // render HTML, it should be placed within 'head' HTML tag
 * echo JsonLdMulti::generate();
 * ```
 *
 * @see https://json-ld.org/
 * @see \Artesaos\SEOTools\JsonLdMulti
 * @see \Artesaos\SEOTools\Facades\JsonLdMulti
 */
interface JsonLdMulti
{
    
/**
     * JsonLdMulti constructor.
     *
     * @param array $defaultJsonLdData
     */
    
public function __construct(array $defaultJsonLdData = []);

    
/**
     * Generates linked data script tag.
     *
     * @param bool $minify
     *
     * @return string
     */
    
public function generate($minify false);

    
/**
     * Create a new JsonLd group and increment the selector to target it
     *
     * @return static
     */
    
public function newJsonLd();

    
/**
     *  Check if the current JsonLd group is empty
     *
     * @return static
     */
    
public function isEmpty();

    
/**
     * Target a JsonLd group that will be edited in the next methods
     *
     * @param int $index
     *
     * @return static
     */
    
public function select($index);

    
/**
     * @param string $key
     * @param string|array $value
     *
     * @return static
     */
    
public function addValue($key$value);

    
/**
     * @param array $values
     *
     * @return static
     */
    
public function addValues(array $values);

    
/**
     * @param string $type
     *
     * @return static
     */
    
public function setType($type);

    
/**
     * @param string $title
     *
     * @return static
     */
    
public function setTitle($title);

    
/**
     * @param string $site
     *
     * @return static
     */
    
public function setSite($site);

    
/**
     * @param string $description
     *
     * @return static
     */
    
public function setDescription($description);

    
/**
     * @param string|null|bool $url
     *
     * @return static
     */
    
public function setUrl($url);

    
/**
     * @param string|array $image
     *
     * @return static
     */
    
public function addImage($image);

    
/**
     * @param string|array $images
     *
     * @return static
     */
    
public function setImages($images);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.009 ]--