18 lines
		
	
	
		
			377 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			377 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
namespace Ratchet\Resource\Command;
 | 
						|
use Ratchet\Resource\Connection;
 | 
						|
 | 
						|
abstract class ActionTemplate implements ActionInterface {
 | 
						|
    /**
 | 
						|
     * @var Ratchet\Resource\Connection
 | 
						|
     */
 | 
						|
    protected $_conn;
 | 
						|
 | 
						|
    public function __construct(Connection $conn) {
 | 
						|
        $this->_conn = $conn;
 | 
						|
    }
 | 
						|
 | 
						|
    public function getConnection() {
 | 
						|
        return $this->_conn;
 | 
						|
    }
 | 
						|
} |