File "Component.php"

Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/laravel/dusk/src/Component.php
File size: 758 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Laravel\Dusk;

abstract class Component
{
    /**
     * Get the root selector associated with this component.
     *
     * @return string
     */
    abstract public function selector();

    /**
     * Assert that the current page contains this component.
     *
     * @param  \Laravel\Dusk\Browser  $browser
     * @return void
     */
    public function assert(Browser $browser)
    {
        //
    }

    /**
     * Get the element shortcuts for the page.
     *
     * @return array
     */
    public function elements()
    {
        return [];
    }

    /**
     * Allow this class to be used in place of a selector string.
     *
     * @return string
     */
    public function __toString()
    {
        return '';
    }
}